:root {
  --bg-page: radial-gradient(circle at 20% 20%, #2b1814 0%, #0c0909 80%);
  --bg-card: linear-gradient(145deg, #1a0f0f, #2b1814);
  --bg-alt: #3a2420;
  --text: #f8f3ef;
  --muted: #b59d91;
  --border: #5c4038;
  --accent: #e27b62;
  --brand: #ffb17a;
  --highlight: linear-gradient(135deg, var(--accent), var(--brand));
  --radius: 20px;
}

/* =========================================
   BASE LAYOUT
   ========================================= */
html, body {
  height: 100%;
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  transition: background 0.4s ease, color 0.3s ease;
  overflow-x: hidden;
}

.wrap {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 12px 40px;
  box-sizing: border-box;
}

/* =========================================
   CARD CONTAINER
   ========================================= */
.card-solid {
  width: 100%;
  max-width: 640px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow:
    0 0 20px rgba(226, 123, 98, 0.15),
    inset 0 0 1px rgba(255,255,255,0.1);
  box-sizing: border-box;
  overflow-wrap: break-word;
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.card-solid:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 30px rgba(226, 123, 98, 0.25),
    0 0 60px rgba(255, 177, 122, 0.1);
}

/* =========================================
   PROFILE HEADER
   ========================================= */
.avatar {
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

.glow {
  box-shadow: 0 0 10px rgba(255,177,122,0.25),
              0 0 40px rgba(226,123,98,0.35);
}

.badge-18 {
  background: var(--highlight);
  color: #fff;
  font-size: 0.8rem;
  border: none;
  box-shadow: 0 0 10px rgba(255,177,122,0.3);
}

/* =========================================
   BUTTONS / LINKS
   ========================================= */
.btn-linktile {
  display: block;
  width: 100%;
  border: 1px solid var(--border) !important;
  background: linear-gradient(145deg, #2b1814, #3f2520) !important;
  color: var(--text) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  text-align: left;
  transition: transform 0.1s ease, background 0.25s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.btn-linktile:hover {
  background: var(--highlight) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(255,177,122,0.35);
}

.btn-brand {
  background: var(--highlight);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(226,123,98,0.4);
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255,177,122,0.5);
}

/* =========================================
   SOCIAL ICONS
   ========================================= */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(145deg, #2b1814, #3a2420);
  color: var(--text);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.08s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}
.social a:hover {
  background: var(--highlight);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(255,177,122,0.4);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1.5rem;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 480px) {
  .card-solid {
    padding: 1.25rem;
    border-radius: 16px;
  }
  .avatar {
    width: 90px;
    height: 90px;
  }
  .badge-18 {
    font-size: 0.75rem;
  }
  .btn-linktile {
    font-size: 0.95rem;
  }
}

/* Booking form width control */
.booking-form-wrapper {
  max-width: 540px;        /* narrower on desktop */
  width: 100%;
}

@media (min-width: 992px) {
  .booking-form-wrapper {
    max-width: 600px;      /* a little more space on very large screens */
  }
}

@media (max-width: 576px) {
  .booking-form-wrapper {
    border-radius: 14px;
  }

  .form-control-lg,
  .form-select-lg {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .btn.btn-lg {
    width: 100%;
  }
}

/* Ensure uniform vertical rhythm */
.section + .section {
  margin-top: 1.5rem; /* equal to .mb-4/.mt-4 */
}

/* Remove default blue links & underlines globally */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Light hover feedback */
a:hover {
  color: var(--bs-primary, #ff5db1); /* or your brand color */
  text-decoration: none;
  opacity: 0.85;
}

/* Specific tweak for links inside headers */
header a {
  color: inherit;
  text-decoration: none;
}

header a:hover h1 {
  color: var(--bs-primary, #ff5db1);
}

/* =========================================
   Button click flash animation
   ========================================= */

/* Remove persistent blue outline */
button:focus, 
.btn:focus, 
a.btn-linktile:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Flash animation when clicked */
@keyframes click-flash {
  0% {
    box-shadow: 0 0 0 rgba(255,177,122,0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255,177,122,0.6);
    transform: scale(0.97);
  }
  100% {
    box-shadow: 0 0 0 rgba(255,177,122,0);
    transform: scale(1);
  }
}

/* Apply animation to all clickable buttons */
.btn-linktile:active,
.btn-brand:active,
.social a:active {
  animation: click-flash 0.3s ease;
  transition: none; /* prevents hover conflicts during animation */
}

/* =========================================
   CLIP GRID STYLING
   ========================================= */

.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.clip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(226, 123, 98, 0.15);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  position: relative;
}

.clip-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 25px rgba(226,123,98,0.25),
    0 0 40px rgba(255,177,122,0.12);
}

.clip-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.clip-info {
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
}

.clip-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.clip-title:hover {
  color: var(--brand);
}

.clip-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.clip-price {
  font-weight: 700;
  color: var(--accent);
}

.clip-btn {
  font-size: 0.75rem;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: linear-gradient(145deg, #2b1814, #3a2420);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.clip-btn:hover {
  background: var(--highlight);
  color: #fff;
  box-shadow: 0 0 10px rgba(255,177,122,0.35);
}

/* "Show More" button harmony */
.btn-showmore {
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  background: linear-gradient(145deg, #1a0f0f, #2b1814);
  transition: all 0.25s ease;
}
.btn-showmore:hover {
  background: var(--highlight);
  color: #fff;
  box-shadow: 0 0 18px rgba(255,177,122,0.4);
}
