/*============================================================================================*/
/* PARADISE HOTEL — Custom Styles & Animations */
/*============================================================================================*/

/* ==============================
   YOUTUBE BACKGROUND VIDEO
================================*/
.youtube-bg-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none; /* let overlay/text stay interactive */
  z-index: 0;
}

.youtube-bg-wrapper iframe {
  /* Scale up so the 16:9 video always fills the container */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;   /* 16/9 * 100vh */
  min-width: 100%;
  height: 56.25vw;   /* 9/16 * 100vw */
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
}

/* Make sure the overlay and text sit on top of the iframe */
#section_video {
  position: relative;
}

#section_video .pinned-image__container-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.45);
}


/* ==============================
   CSS VARIABLES
================================*/
:root {
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --gold-dark: #a07840;
  --dark: #1a1a1a;
  --dark-2: #222;
  --cream: #f8f5f0;
  --text-muted: #888;
  --transition-smooth: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-card: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.2);
}

/* ==============================
   GLOBAL ENHANCEMENTS
================================*/
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Gold accent on headings */
.title small {
  color: var(--gold) !important;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==============================
   ANIMATED GOLD UNDERLINE
================================*/
.title h2::after,
.title h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 14px;
  transition: width 0.6s ease;
}

.title:hover h2::after,
.title:hover h3::after {
  width: 90px;
}

.title.center h2::after,
.title.text-center h2::after {
  margin-left: auto;
  margin-right: auto;
  background: var(--gold);
}

/* ==============================
   FLOATING ANIMATION (subtle)
================================*/
@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(201,169,110,0); }
}

/* ==============================
   HERO CAROUSEL ENHANCEMENTS
================================*/
#carousel-home {
  position: relative;
}

/* Progress bar at bottom of slider */
#carousel-home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0;
  z-index: 10;
  animation: sliderProgress 6s linear infinite;
}

@keyframes sliderProgress {
  0%   { width: 0; opacity:1; }
  95%  { width: 100%; opacity:1; }
  100% { width: 100%; opacity:0; }
}

/* Slide text animation polish */
.owl-slide-animated.owl-slide-title {
  animation: fadeSlideIn 0.8s ease 0.3s both;
}

.owl-slide-animated.owl-slide-title-2 {
  animation: fadeSlideUp 0.9s ease 0.5s both;
}

.owl-slide-animated.owl-slide-title-3 {
  animation: fadeSlideUp 0.9s ease 0.7s both;
}

/* ==============================
   BUTTONS
================================*/
.btn_1 {
  transition: var(--transition-smooth);
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn_1::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn_1:hover::before {
  left: 100%;
}

.btn_4.learn-more .circle {
  transition: var(--transition-smooth);
}

.btn_4.learn-more:hover .circle {
  animation: pulse-gold 1.5s ease infinite;
}

/* ==============================
   ROOM CARDS (Home carousel)
================================*/
.box_cat_rooms figure {
  overflow: hidden;
}

.box_cat_rooms figure .background-image {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.box_cat_rooms:hover figure .background-image {
  transform: scale(1.08);
}

.box_cat_rooms .info {
  transition: var(--transition-smooth);
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.box_cat_rooms:hover .info {
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 70%, transparent 100%);
}

.box_cat_rooms .info small {
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==============================
   FACILITIES BOXES
================================*/
.box_facilities {
  transition: var(--transition-smooth);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}

.box_facilities:hover {
  transform: translateY(-6px);
  background: var(--cream);
  box-shadow: var(--shadow-card);
}

.box_facilities i {
  transition: var(--transition-smooth);
  display: block;
  margin-bottom: 16px;
}

.box_facilities:hover i {
  transform: scale(1.15);
  color: var(--gold) !important;
}

.box_facilities h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.box_facilities:hover h3 {
  color: var(--gold-dark);
}

/* ==============================
   MARQUEE
================================*/
.marquee {
  overflow: hidden;
  background: var(--dark);
}

.marquee .track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}

.marquee .content {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 20px 0;
  /* Duplicate for seamless loop */
  white-space: nowrap;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==============================
   PARALLAX SECTION (Testimonials)
================================*/
.parallax_section_1 {
  position: relative;
}

/* ==============================
   TESTIMONIALS — Full Flexbox Fix
================================*/

/* Reset the base template's absolute-position layout */
.box_overlay {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 36px 40px 32px;
  /* Override the base template's 225px left padding completely */
  padding-left: 40px !important;
  transition: var(--transition-smooth);
  position: relative;
}

.box_overlay:hover {
  background: rgba(20,20,20,0.7);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

/* Stars — top of card */
.box_overlay::before {
  content: '★★★★★';
  display: block;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

/* .pic — override absolute positioning from base CSS */
.box_overlay .pic {
  position: static !important;
  left: auto !important;
  top: auto !important;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  text-align: left;
}

/* Avatar circle */
.box_overlay .pic figure {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201,169,110,0.5);
  margin: 0 !important;
}

.box_overlay .pic figure img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}

/* Name + location — override base absolute positioning */
.box_overlay .pic h4 {
  position: static !important;
  left: auto !important;
  top: auto !important;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.box_overlay .pic h4 small {
  display: block;
  color: var(--gold-light) !important;
  font-size: 0.78rem;
  font-weight: 400;
  margin-top: 3px;
  letter-spacing: 0 !important;
}

/* Quote text — override base border-left */
.box_overlay .comment {
  color: rgba(255,255,255,0.90);
  font-style: italic;
  line-height: 1.9;
  font-size: 0.97rem;
  border-left: 3px solid rgba(201,169,110,0.5) !important;
  padding-left: 20px !important;
  margin: 0;
}

/* ==============================
   BOOKING WIDGET
================================*/
.booking_wrapper {
  background: var(--cream);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--gold);
  transition: var(--transition-smooth);
}

.booking_wrapper:hover {
  box-shadow: var(--shadow-hover);
}

/* ==============================
   PINNED ROOMS (Rooms page)
================================*/
.row_list_version_1 {
  transition: var(--transition-smooth);
}

.row_list_version_1:hover .pinned-image__container {
  transform: scale(1.02);
}

.pinned-image__container {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  border-radius: 16px;
}

.box_item_info {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border-bottom: 3px solid transparent;
}

.box_item_info:hover {
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--gold);
  transform: translateY(-4px);
}

.box_item_info small {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.box_item_info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.facilities ul li {
  transition: var(--transition-smooth);
  padding: 4px 0;
}

.facilities ul li:hover {
  padding-left: 6px;
  color: var(--gold-dark);
}

/* ==============================
   ABOUT AMENITIES LIST
================================*/
.list_ok ul li {
  transition: var(--transition-smooth);
  padding: 20px 0 20px 24px;
  border-left: 3px solid transparent;
}

.list_ok ul li:hover {
  border-left-color: var(--gold);
  padding-left: 30px;
  background: var(--cream);
  border-radius: 0 8px 8px 0;
}

.list_ok ul li h5 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.list_ok ul li:hover h5 {
  color: var(--gold-dark);
}

/* ==============================
   FAQ ACCORDION
================================*/
.card {
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #eee !important;
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card-header {
  background: #fff !important;
  border-bottom: 1px solid #eee;
}

.card-header a {
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header a:not(.collapsed) {
  color: var(--gold-dark) !important;
}

/* ==============================
   GALLERY
================================*/
.box_contents figure {
  overflow: hidden;
  border-radius: 12px;
}

.box_contents figure img {
  transition: transform 0.7s ease;
}

.box_contents:hover figure img {
  transform: scale(1.06);
}

.box_contents .wrapper {
  padding: 20px 8px;
}

.box_contents .wrapper h2 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 8px 0;
  transition: color 0.3s ease;
}

.box_contents:hover .wrapper h2 {
  color: var(--gold-dark);
}

.box_contents .wrapper small {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.box_contents .wrapper em {
  color: var(--gold-dark);
  font-weight: 600;
  font-style: normal;
  font-size: 0.85rem;
}

/* ==============================
   CONTACT FORM
================================*/
.contact_info ul li {
  transition: var(--transition-smooth);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.contact_info ul li:hover {
  background: var(--cream);
  transform: translateX(6px);
}

.contact_info ul li i {
  color: var(--gold);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
}

.contact_info ul li h4 {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ==============================
   FORM CONTROLS
================================*/
.form-control {
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

/* ==============================
   FOOTER
================================*/
footer .move_content h5 {
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

footer .footer_links ul li a {
  transition: var(--transition-smooth);
  position: relative;
  padding-left: 0;
}

footer .footer_links ul li a::before {
  content: '→';
  position: absolute;
  left: -18px;
  opacity: 0;
  color: var(--gold);
  transition: var(--transition-smooth);
}

footer .footer_links ul li a:hover {
  color: var(--gold-light) !important;
  padding-left: 18px;
}

footer .footer_links ul li a:hover::before {
  opacity: 1;
  left: 0;
}

footer .social ul li a {
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}

footer .social ul li a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Newsletter */
footer #newsletter .form-group {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  transition: border-color 0.3s;
}

footer #newsletter .form-group:focus-within {
  border-color: var(--gold);
}

footer #newsletter input {
  background: transparent;
  border: none;
  border-radius: 0;
  color: #fff;
  padding: 12px 18px;
}

footer #newsletter input::placeholder {
  color: rgba(255,255,255,0.45);
}

footer #newsletter button {
  background: var(--gold);
  border: none;
  padding: 12px 18px;
  color: #fff;
  transition: background 0.3s;
}

footer #newsletter button:hover {
  background: var(--gold-dark);
}

/* ==============================
   PHONE ELEMENT
================================*/
.phone_element a {
  transition: var(--transition-smooth);
}

.phone_element a:hover i {
  animation: float-gentle 1s ease infinite;
}

/* ==============================
   PROGRESS SCROLL BAR
================================*/
.progress-wrap path {
  stroke: var(--gold);
}

/* ==============================
   PARALLAX LOCAL AMENITIES IMAGES
================================*/
.rounded_container .pinned-image__container {
  transition: transform 0.6s ease;
}

.rounded_container:hover .pinned-image__container {
  transform: scale(1.03);
}

/* ==============================
   HERO PAGE BANNERS
================================*/
.hero .wrapper small,
.hero .wrapper h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero .wrapper h1 {
  animation: fadeSlideUp 0.9s ease 0.4s both;
}

.hero .wrapper small {
  animation: fadeSlideIn 0.8s ease 0.2s both;
}

/* ==============================
   ROOM LIST HOVER BADGE
================================*/
.box_item_info .facilities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
}

.box_item_info .facilities ul li {
  background: #f5f2ee;
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #555;
  transition: var(--transition-smooth);
  margin-right: 8px;
}

.box_item_info .facilities ul li:hover {
  background: var(--gold);
  color: #fff;
  padding-left: 18px;
}

/* ==============================
   SMOOTH HOVER CARD ON WHITE SECTION
================================*/
.add_bottom_90 .pinned-image,
.bg_white .pinned-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.add_bottom_90 .pinned-image:hover,
.bg_white .pinned-image:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ==============================
   GOLD DIVIDER
================================*/
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px auto;
  border-radius: 2px;
}

/* ==============================
   RESTAURANT PAGE POLISH
================================*/
.box_contents figure em {
  background: var(--gold);
  color: #fff;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
}

/* ==============================
   404 PAGE
================================*/
#error_page {
  transition: var(--transition-smooth);
}

/* ==============================
   ANIMATED STATS / COUNTER STRIP
================================*/
.stats-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--dark);
  padding: 50px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat-item {
  text-align: center;
  animation: fadeSlideUp 0.8s ease both;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  display: block;
}

.stat-item .stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* ==============================
   TRUST BADGES STRIP
================================*/
.trust-strip {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badge i {
  color: var(--gold);
  font-size: 1rem;
}

/* ==============================
   RESPONSIVE TWEAKS
================================*/
@media (max-width: 768px) {
  .stat-item .stat-number { font-size: 2rem; }
  .stats-strip { flex-wrap: wrap; gap: 30px; padding: 36px 20px; }
  .box_item_info { padding: 28px 24px; }
  .booking_wrapper { padding: 24px; }
}
