/* ==========================================================================
   RAM TARI MAYA CABIN - Ultra Luxury Landing Page (Lag-Free & Mobile Touch Perfect)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & SYSTEM TOKENS
   -------------------------------------------------------------------------- */
:root {
  --bg-pitch: #08090d;
  --bg-card: rgba(18, 20, 30, 0.75);
  --bg-card-mobile: rgba(18, 20, 30, 0.95);
  
  --accent-orange: #ff6b00;
  --accent-orange-light: #ff8b26;
  --accent-orange-soft: rgba(255, 107, 0, 0.12);
  --accent-orange-glow: rgba(255, 107, 0, 0.3);
  
  --text-main: #ffffff;
  --text-sub: #a1a1aa;
  --text-muted: #71717a;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 107, 0, 0.4);
  
  --green-active: #10b981;
  --green-glow: rgba(16, 185, 129, 0.25);
  
  --shadow-main: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(255, 107, 0, 0.2);
  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-pitch);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* --------------------------------------------------------------------------
   3. HARDWARE-ACCELERATED AMBIENT BACKGROUND GLOW (Zero-Lag)
   -------------------------------------------------------------------------- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.bg-glow-1 {
  top: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, rgba(255, 107, 0, 0) 70%);
}

.bg-glow-2 {
  bottom: -15%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 136, 26, 0.15) 0%, rgba(255, 107, 0, 0) 70%);
}

/* --------------------------------------------------------------------------
   4. LAYOUT CONTAINERS
   -------------------------------------------------------------------------- */
.app-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* DESKTOP DEFAULT: Fit in 100vh with no vertical scroll */
@media (min-width: 1025px) {
  body {
    height: 100vh;
    overflow: hidden;
  }
  
  .app-viewport {
    height: 100vh;
    padding: 2rem 4rem;
  }
}

.landing-container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 63% 37%;
  gap: 3.5rem;
  align-items: center;
  margin: auto;
}

/* --------------------------------------------------------------------------
   5. LEFT CONTENT SECTION
   -------------------------------------------------------------------------- */
.left-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-right: 1rem;
}

/* Logo in White Rounded Card */
.logo-card-wrapper {
  display: flex;
  align-items: center;
}

.white-logo-card {
  background: #ffffff;
  padding: 0.75rem 1.6rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.white-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 107, 0, 0.3);
}

.brand-logo-img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Header & Tagline */
.brand-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-orange-soft);
  border: 1px solid rgba(255, 107, 0, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-orange-light);
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
}

.brand-title {
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #e4e4e7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.brand-description {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-sub);
  max-width: 560px;
}

/* Features List */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.feature-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-orange-soft);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--accent-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.15);
}

.feature-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   6. RIGHT CONTENT & PREMIUM CONTACT CARD
   -------------------------------------------------------------------------- */
.right-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card {
  position: relative;
  width: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: var(--shadow-main);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.contact-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-main), var(--shadow-glow);
}

.card-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 50%, transparent 100%);
  pointer-events: none;
}

.contact-card-header {
  margin-bottom: 1.5rem;
  pointer-events: none;
}

.card-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-orange-light);
  display: block;
  margin-bottom: 0.2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.contact-items-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  transform: translate3d(0,0,0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 107, 0, 0.2);
  user-select: none;
  -webkit-user-select: none;
}

.clickable-row {
  cursor: pointer;
  outline: none;
}

/* Ensure child elements do not block click events on the parent <a> link */
.clickable-row * {
  pointer-events: none;
}

.clickable-row:hover,
.clickable-row:focus-visible,
.clickable-row:active {
  background: rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.45);
  transform: translateX(3px);
}

.contact-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-orange-soft);
  border: 1px solid rgba(255, 107, 0, 0.25);
  color: var(--accent-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.clickable-row:hover .contact-icon-wrapper,
.clickable-row:active .contact-icon-wrapper {
  background: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.5);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-grow: 1;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.phone-number-text {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.clickable-row:hover .phone-number-text,
.clickable-row:active .phone-number-text {
  color: var(--accent-orange-light);
}

.contact-action-icon {
  color: var(--text-muted);
  font-size: 0.88rem;
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.clickable-row:hover .contact-action-icon,
.clickable-row:active .contact-action-icon {
  opacity: 1;
  color: var(--accent-orange-light);
  transform: scale(1.15);
}

/* Live Open Everyday Status */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green-active);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-active);
  box-shadow: 0 0 8px var(--green-glow);
}

/* --------------------------------------------------------------------------
   7. MOBILE RESPONSIVE OPTIMIZATIONS (Zero-Lag Smooth Mobile View)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  body {
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .app-viewport {
    height: auto;
    min-height: 100vh;
    padding: 2.25rem 1.25rem;
    align-items: flex-start;
  }

  .landing-container {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    max-width: 560px;
  }

  .left-content {
    padding-right: 0;
    gap: 1.25rem;
  }

  /* Disable heavy backdrop-filter on mobile for smooth performance */
  .contact-card {
    background: var(--bg-card-mobile);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1.6rem;
    border-radius: 22px;
  }

  /* Simplify ambient glow sizes on mobile */
  .bg-glow-1 {
    width: 350px;
    height: 350px;
    top: -10%;
    left: -20%;
  }

  .bg-glow-2 {
    width: 350px;
    height: 350px;
    bottom: -10%;
    right: -20%;
  }
}

@media (max-width: 480px) {
  .app-viewport {
    padding: 1.75rem 1rem;
  }

  .white-logo-card {
    padding: 0.6rem 1.25rem;
    border-radius: 14px;
  }

  .brand-logo-img {
    max-height: 38px;
  }

  .brand-title {
    font-size: 1.85rem;
  }

  .badge-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.75rem;
  }

  .brand-description {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .feature-label {
    font-size: 0.88rem;
  }

  .contact-card {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  .contact-row {
    padding: 0.85rem 0.95rem;
    gap: 0.85rem;
  }

  .contact-icon-wrapper {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .contact-value {
    font-size: 0.92rem;
  }
}
