/* ==========================================================================
   Miraaya Hospitality - Deep Cleaning Services Thiruvananthapuram
   Core Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Color Palette */
  --primary: #044e3d;            /* Deep Royal Emerald */
  --primary-dark: #022c22;       /* Forest Night */
  --primary-light: #0d7057;      /* Fresh Mint Emerald */
  --primary-subtle: #ecfdf5;     /* Soft Mint Tint */
  
  --gold: #c69214;               /* Luxury Champagne Gold */
  --gold-dark: #9a7008;          /* Burnished Antique Gold */
  --gold-light: #fef3c7;         /* Soft Gold Glow */
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #f3e5ab 100%);
  
  --accent-teal: #0891b2;        /* Pure Aqua / Sparkle */
  --accent-teal-subtle: #f0fdfa;
  
  --text-main: #0f172a;          /* Charcoal Slate */
  --text-muted: #475569;         /* Cool Grey */
  --text-light: #94a3b8;         /* Subtle Grey */
  --text-white: #ffffff;
  
  --bg-main: #fcfdfd;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #071e19;
  
  --border-light: #e2e8f0;
  --border-glass: rgba(255, 255, 255, 0.45);
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(4, 78, 61, 0.08);
  --shadow-lg: 0 20px 40px rgba(4, 78, 61, 0.12);
  --shadow-glow: 0 0 35px rgba(212, 175, 55, 0.25);
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Common Layout */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background: linear-gradient(135deg, #042e24 0%, #021a14 100%);
  color: var(--text-white);
}

.section-dark h2, .section-dark h3 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(4, 78, 61, 0.15);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-tag.gold {
  background: #fef8e7;
  color: var(--gold-dark);
  border-color: rgba(198, 146, 20, 0.25);
}

.badge-tag.dark {
  background: rgba(255, 255, 255, 0.1);
  color: #a7f3d0;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-title span.highlight {
  color: var(--primary-light);
  position: relative;
  display: inline-block;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .section-desc {
  color: #94a3b8;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-right a:hover {
  color: var(--gold-light);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-symbol {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, #06392d 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  box-shadow: 0 4px 12px rgba(4, 78, 61, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.brand-loc {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 1px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(4, 78, 61, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 78, 61, 0.35);
  color: var(--text-white);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #1a1200;
  box-shadow: 0 4px 14px rgba(198, 146, 20, 0.3);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(198, 146, 20, 0.45);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: rgba(4, 78, 61, 0.25);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-white);
}

.btn-outline-white:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem 0;
  background: linear-gradient(135deg, #f0fdf9 0%, #ffffff 45%, #f7fee7 100%);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-shape-1 {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 112, 87, 0.12) 0%, transparent 70%);
}

.hero-shape-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 146, 20, 0.1) 0%, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(4, 78, 61, 0.15);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-badge-icon {
  color: var(--gold);
}

.hero-badge-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title span.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

/* Hero Trust Stats Bar */
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.trust-stat-num span.plus {
  color: var(--gold);
}

.trust-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(4, 78, 61, 0.22);
  border: 6px solid #ffffff;
}

.hero-main-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

/* Floating Hero Badges */
.floating-glass-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  animation: floatSlow 4s ease-in-out infinite;
}

.badge-pos-1 {
  bottom: 25px;
  left: -25px;
}

.badge-pos-2 {
  top: 30px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-pos-2 .badge-icon-box {
  background: #fef3c7;
  color: var(--gold-dark);
}

.badge-text-primary {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive Rules for Mobile */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }
  .badge-pos-1 {
    left: 10px;
    bottom: 15px;
  }
  .badge-pos-2 {
    right: 10px;
    top: 15px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 1.25rem;
    display: none;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-menu.active {
    display: flex;
  }
  .top-bar-left span.hide-mobile {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }
  .top-bar {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
