/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== DESIGN SYSTEM TOKENS ===== */
:root {
  --font-primary: 'Outfit', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans CN', sans-serif;
  --color-primary: #dc2626;
  --color-primary-dark: #991b1b;
  --color-primary-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  --color-bg-dark: #0f172a;
  --color-bg-light: #f8fafc;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --radius-card: 16px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.65;
  color: var(--color-text-main);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== HEADER & GLASSMORPHIC NAVBAR ===== */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.navigation_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  max-width: 1350px;
  margin: 0 auto;
}

/* Logo */
.logo img {
  height: 52px;
  width: auto;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo img:hover {
  transform: scale(1.04);
}

/* Navigation Links */
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  position: relative;
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 6px 0;
  transition: var(--transition-smooth);
}

nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: var(--transition-smooth);
}

nav a:hover,
nav a.active {
  color: #ffffff;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

/* CTA Button */
.cta-btn {
  background: var(--color-primary-gradient);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.5);
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

/* Mobile Nav Toggle Icon */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 2010;
}

.mobile-toggle span {
  width: 26px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ===== UNIFIED INNER PAGE HERO BANNERS ===== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.95) 100%),
              url('../image-optimized/OneDrive_2026-08-16/Company Profile (2025)/Rolex shop, the Garden Mall/WhatsApp Image 2026-01-23 at 2.16.06 PM.webp') center/cover no-repeat;
  padding: 85px 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero-about {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.95) 100%),
              url('../image-optimized/OneDrive_2026-08-16/Company Profile (2025)/Herbaline/Sojourn Hotel, IPOH/Blue-Room-Herbaline.-Sojourn-Guest-House.webp') center/cover no-repeat;
}

.page-hero-services {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.95) 100%),
              url('../image-optimized/OneDrive_2026-08-16/Company Profile (2025)/Hyatt Regency Kuantan/IMG_0850.webp') center/cover no-repeat;
}

.page-hero-portfolio {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.95) 100%),
              url('../image-optimized/OneDrive_2026-08-16/Company Profile (2025)/Mont Blanc, Pavillion KL/IMG_1787.webp') center/cover no-repeat;
}

.page-hero-contact {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.95) 100%),
              url('../image-optimized/OneDrive_2026-08-16/Company Profile (2025)/Lexis Hibiscus Port Diskson/0a62365c_z.webp') center/cover no-repeat;
}

.page-hero-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.2);
}

.page-hero-content h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-hero-content p {
  font-size: 1.18rem;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 25px;
}

/* ===== GLOBAL BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.45);
  color: #ffffff;
}

.btn-link {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-link:hover {
  color: #b91c1c;
  transform: translateX(4px);
}

/* ===== FOOTER ===== */
footer {
  background: #0b0f19;
  color: #94a3b8;
  padding: 45px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
  color: #94a3b8;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 4px 6px;
  margin-left: 8px;
}

.lang-switcher-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.lang-switcher-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.lang-switcher-btn.lang-active {
  background: var(--color-primary-gradient);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
  transform: scale(1.04);
}

/* ===== LUXURY SMOOTH IN-PAGE LANGUAGE SWITCH ANIMATION ===== */
.lang-switching [data-i18n],
.lang-switching [data-i18n-html],
.lang-switching [data-i18n-placeholder] {
  opacity: 0.15 !important;
  transform: translateY(3px) scale(0.996);
  filter: blur(2px);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), 
              filter 0.22s ease !important;
}

[data-i18n],
[data-i18n-html] {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              filter 0.3s ease;
  will-change: opacity, transform, filter;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 900px) {
  .navigation_container {
    padding: 14px 20px;
  }
  
  .mobile-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0f172a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }

  nav.nav-open {
    right: 0;
  }

  .cta-btn {
    display: none;
  }

  .lang-switcher {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .navigation_container {
    padding: 10px 14px;
  }
  
  .logo img {
    height: 40px;
  }

  .lang-switcher {
    padding: 3px 4px;
    gap: 2px;
  }

  .lang-switcher-btn {
    font-size: 0.72rem;
    padding: 3px 7px;
  }
}
