/* ============================================
   Morning Escort Malaysia 2026 MODERN TEMPLATE
   ============================================ */

:root {
  --bg-light-blue: #eaf4fc;
  --bg-light-blue-2: #d6eaf8;
  --title-maroon: #6b1d2e;
  --title-white: #ffffff;
  --title-maroon-dark: #4a1220;
  --bar-light-pink: #fce4ec;
  --bar-light-pink-2: #f8bbd0;
  --text-body: #2c3e50;
  --text-muted: #5d6d7e;
  --white: #ffffff;
  --shadow-soft: 0 4px 20px rgba(107, 29, 46, 0.08);
  --shadow-hover: 0 8px 32px rgba(107, 29, 46, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: linear-gradient(160deg, var(--bg-light-blue) 0%, var(--bg-light-blue-2) 100%);
  color: var(--text-body);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--title-maroon);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--text-body); }

a { color: var(--title-maroon); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--title-maroon-dark); }

/* ===== HEADER & NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--bar-light-pink);
  box-shadow: var(--shadow-soft);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--title-maroon);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); display: block; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bar-light-pink);
  color: var(--title-maroon);
}

/* ===== HERO ===== */
.hero {
  max-width: 1300px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
}

.hero-inner {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
  border-left: 6px solid var(--title-maroon);
  position: relative;
  overflow: hidden;
}

.hero-inner::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--bar-light-pink) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--bar-light-pink);
  color: var(--title-maroon);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 { margin-bottom: 1rem; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--bar-light-pink);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--title-maroon);
}

.trust-item .icon {
  width: 28px; height: 28px;
  background: var(--bar-light-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ===== SECTION BAR (LIGHT PINK) ===== */
.section-bar {
  max-width: 1300px;
  margin: 2.5rem auto 1rem;
  padding: 0 1.5rem;
}

.section-bar-inner {
  background: var(--bar-light-pink);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-bar-inner h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.section-bar-inner .sub {
  font-size: 0.8rem;
  color: var(--title-maroon);
  opacity: 0.8;
}

/* ===== MODEL GRID ===== */
.model-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.model-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(252, 228, 236, 0.8);
}

.model-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--bar-light-pink-2);
}

.model-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--bg-light-blue-2), var(--bar-light-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--title-maroon);
  position: relative;
  overflow: hidden;
}

.model-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.model-info {
  padding: 1rem 1.2rem;
}

.model-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.model-info .nationality {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.model-info .nationality::before {
  content: '🌏';
  font-size: 0.75rem;
}

/* ===== PRICE TABLE ===== */
.price-section {
  max-width: 1300px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.price-table thead th {
  background: var(--title-maroon);
  color: var(--white);
  padding: 1rem 1.2rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.price-table tbody td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--bar-light-pink);
  font-size: 0.9rem;
}

.price-table tbody tr:last-child td { border-bottom: none; }

.price-table tbody tr:nth-child(even) {
  background: rgba(252, 228, 236, 0.3);
}

.price-table tbody tr:hover {
  background: var(--bar-light-pink);
}

.price-table .price {
  font-weight: 700;
  color: var(--title-maroon);
  font-size: 1rem;
}

/* ===== CONTENT BLOCKS ===== */
.content-block {
  max-width: 1300px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--bar-light-pink);
  margin-bottom: 1.5rem;
}

.content-card h2 { margin-bottom: 1rem; }

.content-card h3 {
  margin-top: 1.5rem;
  color: var(--title-maroon-dark);
}

.content-card ul, .content-card ol {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--text-body);
}

.content-card li { margin-bottom: 0.4rem; }

/* ===== FAQ (AEO) ===== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--bar-light-pink);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--title-maroon);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover { background: var(--bar-light-pink); }

.faq-question .arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.2rem 1.2rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--title-maroon);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-inner h4 {
  color: var(--bar-light-pink);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-inner a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-inner a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1300px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}



   /* ===== FLOATING BUTTONS ===== */

.float-buttons {
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-left {
  bottom: 1.5rem;
  left: 1.5rem;
}

.float-right {
  bottom: 1.5rem;
  right: 1.5rem;
}

/* --- Base button --- */
.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
  isolation: isolate;
  overflow: visible;
}

/* Soft outer glow */
.float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.35;
  filter: blur(10px);
  z-index: -1;
  transition: opacity 0.35s ease;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.float-btn:hover::before {
  opacity: 0.7;
}

.float-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* --- SVG icons --- */
.float-btn svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
  transition: transform 0.35s ease;
}

.float-btn:hover svg {
  transform: scale(1.1) rotate(-6deg);
}

/* --- Telegram --- */
.float-btn.telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #1E96C8 50%, #0088CC 100%);
  box-shadow:
    0 8px 20px rgba(42, 171, 238, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.float-btn.telegram:hover {
  box-shadow:
    0 14px 32px rgba(42, 171, 238, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* --- WhatsApp --- */
.float-btn.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1FAD4F 50%, #128C7E 100%);
  box-shadow:
    0 8px 20px rgba(37, 211, 102, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.float-btn.whatsapp:hover {
  box-shadow:
    0 14px 32px rgba(37, 211, 102, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* --- Back to top --- */
.float-btn.back-to-top {
  background: linear-gradient(135deg, #8B2A3E 0%, #6B1D2E 50%, #4A1220 100%);
  box-shadow:
    0 8px 20px rgba(107, 29, 46, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.float-btn.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-btn.back-to-top.visible:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 14px 32px rgba(107, 29, 46, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* --- Tooltip --- */
.float-btn .tooltip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: rgba(107, 29, 46, 0.95);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.float-btn .tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: rgba(107, 29, 46, 0.95);
}

.float-btn:hover .tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* --- Pulse animation for social buttons --- */
@keyframes float-pulse {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(42, 171, 238, 0.35),
      0 0 0 0 rgba(42, 171, 238, 0.5);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(42, 171, 238, 0.35),
      0 0 0 12px rgba(42, 171, 238, 0);
  }
}

@keyframes float-pulse-wa {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(37, 211, 102, 0.35),
      0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(37, 211, 102, 0.35),
      0 0 0 12px rgba(37, 211, 102, 0);
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .float-btn {
    width: 52px;
    height: 52px;
  }
  .float-btn svg {
    width: 24px;
    height: 24px;
  }
  .float-left {
    bottom: 1rem;
    left: 1rem;
  }
  .float-right {
    bottom: 1rem;
    right: 1rem;
  }
  .float-btn .tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .float-btn {
    width: 48px;
    height: 48px;
  }
  .float-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* --- Print --- */
@media print {
  .float-buttons {
    display: none;
  }
}