/*
Theme Name:  Milaoo
Theme URI:   https://milaoo.com
Description: Official Milaoo matrimony theme - rose gold design for Divine Matrimony Ultra plugin. Where Hearts Connect.
Author:      Milaoo Team
Version:     1.0.0
Text Domain: milaoo
Tags:        matrimony, wedding, rose-gold, responsive, full-width-template
*/

/* ═══ MILAOO THEME — Rose Gold Matrimony ═══ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,600&display=swap');

:root {
  --rose:       #c0627a;
  --rose-dark:  #a04a62;
  --rose-light: #fdf0f3;
  --rose-xl:    #fef8fa;
  --gold:       #c9962a;
  --gold-light: #fdf6e3;
  --rosegold:   #cd9b7a;
  --dark:       #1a0e14;
  --dark2:      #2d1f35;
  --muted:      #8a6472;
  --border:     #e8d0d8;
  --white:      #ffffff;
  --grad:       linear-gradient(135deg, #c0627a, #a04a62);
  --grad-gold:  linear-gradient(135deg, #e8b840, #c9962a);
  --grad-hero:  linear-gradient(135deg, #1a0e14 0%, #2d1f35 40%, #7a3550 100%);
  --shadow:     0 4px 24px rgba(160,74,98,.12);
  --shadow-lg:  0 8px 40px rgba(160,74,98,.2);
  --radius:     12px;
  --font:       'Nunito', 'Segoe UI', system-ui, sans-serif;
  --serif:      'Playfair Display', Georgia, serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--dark);
  background: var(--rose-xl);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--rose); text-decoration: none; transition: .2s; }
a:hover { color: var(--rose-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 700; color: var(--dark); line-height: 1.25; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(160,74,98,.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 44px; width: auto; }
.site-logo-text { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--rose); }
.site-logo-tagline { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .5px; }

/* ── NAV ── */
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: .2s;
}
.site-nav a:hover, .site-nav a.current-menu-item {
  color: var(--rose);
  border-bottom-color: var(--rose);
}
.nav-btn-login {
  border: 1.5px solid var(--rose) !important;
  border-bottom: 1.5px solid var(--rose) !important;
  color: var(--rose) !important;
  padding: 8px 20px !important;
  border-radius: 999px !important;
}
.nav-btn-login:hover { background: var(--rose) !important; color: #fff !important; }
.nav-btn-register {
  background: var(--grad) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 999px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(160,74,98,.3) !important;
  font-size: 14px !important;
}
.nav-btn-register:hover {
  background: linear-gradient(135deg,#d0708a,#b05272) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ── HERO ── */
.milaoo-hero {
  background: var(--grad-hero);
  color: var(--white);
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.milaoo-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,98,122,.15), transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.milaoo-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,42,.1), transparent 70%);
  bottom: -100px; left: -80px;
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(192,98,122,.25);
  color: #fdb8c6;
  border: 1px solid rgba(192,98,122,.4);
  padding: 5px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero-title em { font-style: italic; color: #fdb8c6; }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  opacity: .8;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-btn-primary {
  background: var(--grad-gold);
  color: var(--dark);
  padding: 15px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(201,150,42,.4);
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201,150,42,.5); color: var(--dark); }
.hero-btn-secondary {
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: .2s;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 1;
}
.hero-stat-num { font-family: var(--serif); font-size: 32px; font-weight: 700; color: #fdb8c6; }
.hero-stat-label { font-size: 13px; opacity: .7; margin-top: 2px; }

/* ── QUICK SEARCH BAR ── */
.quick-search-bar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  max-width: 900px;
  margin: -40px auto 60px;
  position: relative;
  z-index: 10;
}
.qs-title { font-size: 15px; font-weight: 800; color: var(--dark2); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.qs-fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.qs-field label { font-size: 12px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.qs-field select, .qs-field input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: 14px; color: var(--dark);
  background: #fff; transition: .2s;
}
.qs-field select:focus, .qs-field input:focus { outline: none; border-color: var(--rose); }
.qs-btn {
  background: var(--grad); color: #fff; border: none;
  padding: 11px 28px; border-radius: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: .2s;
  box-shadow: 0 4px 14px rgba(160,74,98,.28);
}
.qs-btn:hover { background: linear-gradient(135deg,#d0708a,#b05272); transform: translateY(-1px); }
@media(max-width: 768px) { .qs-fields { grid-template-columns: 1fr 1fr; } }
@media(max-width: 480px) { .qs-fields { grid-template-columns: 1fr; } }

/* ── SECTION ── */
.milaoo-section { padding: 70px 24px; }
.milaoo-section.alt { background: var(--white); }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: var(--rose-light);
  color: var(--rose-dark);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── PROFILE CARDS ── */
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.profile-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .25s;
  position: relative;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.profile-card-photo {
  width: 100%; height: 220px; object-fit: cover;
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  display: flex; align-items: center; justify-content: center; font-size: 72px;
}
.profile-card-premium-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--grad-gold); color: #fff;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
}
.profile-card-body { padding: 16px; }
.profile-card-name { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.profile-card-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.profile-card-actions { display: flex; gap: 8px; }
.profile-card-btn {
  flex: 1; padding: 8px; border: none; border-radius: 7px;
  font-family: var(--font); font-size: 13px; font-weight: 700; cursor: pointer; transition: .2s;
}
.profile-card-btn.primary { background: var(--grad); color: #fff; }
.profile-card-btn.primary:hover { background: linear-gradient(135deg,#d0708a,#b05272); }
.profile-card-btn.ghost { background: var(--rose-light); color: var(--rose-dark); }
.profile-card-btn.ghost:hover { background: var(--rose); color: #fff; }
.match-score {
  position: absolute; top: 12px; right: 12px;
  background: var(--grad-gold); color: #fff;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
}

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--rose);
  transition: .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── SUCCESS STORIES ── */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.story-quote { font-size: 36px; color: var(--rose-light); font-family: serif; line-height: 1; margin-bottom: 10px; }
.story-text { font-size: 15px; color: var(--dark2); line-height: 1.65; font-style: italic; margin-bottom: 18px; }
.story-couple { display: flex; align-items: center; gap: 12px; }
.story-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--rose-light); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.story-name { font-weight: 800; color: var(--dark); font-size: 15px; }
.story-where { font-size: 12px; color: var(--muted); }
.story-hearts { position: absolute; top: 20px; right: 20px; color: var(--rose); font-size: 18px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--grad-hero);
  padding: 32px 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item { text-align: center; color: var(--white); }
.trust-num { font-family: var(--serif); font-size: 28px; font-weight: 700; color: #fdb8c6; }
.trust-label { font-size: 13px; opacity: .7; margin-top: 2px; }

/* ── HOW IT WORKS ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; counter-reset: steps; }
.step-card { text-align: center; padding: 24px 16px; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad);
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(160,74,98,.3);
}
.step-title { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--muted); }

/* ── MEMBERSHIP PLANS ── */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: .25s;
  position: relative;
  text-align: center;
}
.plan-card.featured { border-color: var(--rose); box-shadow: var(--shadow-lg); }
.plan-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  padding: 4px 20px; border-radius: 999px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.plan-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.plan-price { font-size: 40px; font-weight: 900; color: var(--rose); }
.plan-price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan-period { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan-features { list-style: none; text-align: left; margin: 0 0 24px; padding: 0; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid var(--rose-xl); font-size: 14px; color: var(--dark2); }
.plan-features li::before { content: '✓ '; color: #22c55e; font-weight: 800; }

/* ── FOOTER ── */
.site-footer { background: var(--dark2); color: rgba(255,255,255,.8); padding: 60px 24px 28px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-text { font-family: var(--serif); font-size: 28px; font-weight: 700; color: #fdb8c6; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: .7; max-width: 280px; }
.footer-col-title { font-weight: 800; color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 8px; transition: .2s; }
.footer-col a:hover { color: #fdb8c6; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; opacity: .6; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); font-size: 15px; transition: .2s; }
.footer-social a:hover { background: var(--rose); color: #fff; }
@media(max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── PAGE CONTENT ── */
.page-content { max-width: 1200px; margin: 40px auto; padding: 0 24px 60px; }
.page-hero { background: var(--grad-hero); color: #fff; padding: 52px 24px; text-align: center; }
.page-hero-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 44px); font-weight: 700; color: #fff; }
.page-hero-sub { font-size: 16px; opacity: .75; margin-top: 8px; }

/* ── MOBILE NAV ── */
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark2); padding: 4px; }
@media(max-width: 900px) {
  .mobile-menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 999;
    gap: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid var(--rose-xl); border-bottom-color: var(--rose-xl) !important; font-size: 15px; }
}

/* ── WORDPRESS OVERRIDES ── */
.wp-block-image { margin: 1.5rem 0; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.site-header { position: relative; }
