/*
Theme Name: Rupali Beauty Center Meta Verified Theme
Theme URI: https://rupalibeauty.store
Author: Rupali Beauty Center
Author URI: https://rupalibeauty.store
Description: A custom, production-ready WordPress theme built for Meta Business Manager verification compliance for Rupali Beauty Center — Beauty Parlour & Skin Care, Burhanbag, Shibgonj, Sylhet-3100, Bangladesh. Features structured legal business information, dedicated Privacy Policy and Terms templates, and Open Graph meta tags for Meta scrapers.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rupalibeauty
Tags: beauty, salon, business, custom-logo, featured-images, one-column, translation-ready
*/

/* ==========================================================================
   CSS Custom Properties — Rose Gold & Slate Grey Palette
   ========================================================================== */
:root {
  --rbc-rose-gold: #b76e79;
  --rbc-rose-gold-light: #e8b4b8;
  --rbc-rose-gold-dark: #96525d;
  --rbc-rose-blush: #fdf6f5;
  --rbc-slate: #475569;
  --rbc-slate-dark: #1e293b;
  --rbc-slate-light: #94a3b8;
  --rbc-slate-bg: #f1f5f9;
  --rbc-white: #ffffff;
  --rbc-max-width: 1140px;
  --rbc-radius: 12px;
  --rbc-shadow: 0 10px 30px rgba(30, 41, 59, 0.08);
  --rbc-font-heading: Georgia, 'Times New Roman', serif;
  --rbc-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--rbc-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--rbc-slate-dark);
  background: var(--rbc-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rbc-rose-gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--rbc-rose-gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--rbc-font-heading);
  color: var(--rbc-slate-dark);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--rbc-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--rbc-white);
  border-bottom: 1px solid var(--rbc-slate-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(30, 41, 59, 0.05);
}

.admin-bar .site-header { top: 32px; }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--rbc-max-width);
  margin: 0 auto;
  gap: 20px;
}

.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img.custom-logo { max-height: 52px; width: auto; }

.site-title {
  font-family: var(--rbc-font-heading);
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.2;
}
.site-title a { color: var(--rbc-slate-dark); }
.site-title a:hover { color: var(--rbc-rose-gold); }

.site-tagline {
  font-size: 0.8rem;
  color: var(--rbc-rose-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-navigation a {
  color: var(--rbc-slate);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-navigation a:hover { color: var(--rbc-rose-gold); }
.main-navigation .current-menu-item > a { color: var(--rbc-rose-gold); }

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--rbc-rose-gold);
  color: var(--rbc-rose-gold);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--rbc-rose-blush) 0%, var(--rbc-rose-gold-light) 55%, var(--rbc-rose-gold) 100%);
  padding: 110px 20px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--rbc-slate-dark);
  margin-bottom: 0.35em;
}
.hero .hero-subtitle {
  font-size: 1.2rem;
  color: var(--rbc-slate);
  max-width: 640px;
  margin: 0 auto 1.6em;
}
.hero-badge {
  display: inline-block;
  background: var(--rbc-slate-dark);
  color: var(--rbc-white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-cta {
  display: inline-block;
  background: var(--rbc-rose-gold-dark);
  color: var(--rbc-white);
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-cta:hover { background: var(--rbc-slate-dark); color: var(--rbc-white); transform: translateY(-2px); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 80px 20px; }
.section-alt { background: var(--rbc-slate-bg); }

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.4em;
}
.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--rbc-rose-gold);
  margin: 18px auto 0;
  border-radius: 2px;
}
.section-lead {
  text-align: center;
  color: var(--rbc-slate);
  max-width: 680px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--rbc-max-width);
  margin: 0 auto;
}
.about-text p { color: var(--rbc-slate); margin: 0 0 1.2em; }

.legal-card {
  background: var(--rbc-white);
  border: 1px solid var(--rbc-slate-bg);
  border-top: 4px solid var(--rbc-rose-gold);
  border-radius: var(--rbc-radius);
  box-shadow: var(--rbc-shadow);
  padding: 32px;
}
.legal-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.legal-card dl { margin: 0; }
.legal-card dt {
  font-weight: 700;
  color: var(--rbc-slate);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 14px;
}
.legal-card dd { margin: 2px 0 0; color: var(--rbc-slate-dark); }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: var(--rbc-max-width);
  margin: 0 auto;
}
.service-card {
  background: var(--rbc-white);
  border: 1px solid var(--rbc-slate-bg);
  border-radius: var(--rbc-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--rbc-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--rbc-rose-gold-light); }
.service-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: var(--rbc-rose-blush);
  border: 2px solid var(--rbc-rose-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--rbc-rose-gold);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--rbc-slate); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--rbc-max-width);
  margin: 0 auto;
  align-items: stretch;
}
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex;
  gap: 16px;
  background: var(--rbc-white);
  border: 1px solid var(--rbc-slate-bg);
  border-radius: var(--rbc-radius);
  padding: 18px 22px;
  align-items: flex-start;
}
.contact-item .icon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  background: var(--rbc-rose-blush);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--rbc-rose-gold);
  font-size: 1.1rem;
}
.contact-item strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rbc-slate); }
.contact-item span, .contact-item a { color: var(--rbc-slate-dark); }

.map-placeholder {
  border-radius: var(--rbc-radius);
  overflow: hidden;
  border: 1px solid var(--rbc-slate-bg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rbc-slate) 0%, var(--rbc-slate-dark) 100%);
  color: var(--rbc-white);
  text-align: center;
  padding: 40px 24px;
}
.map-placeholder .map-inner strong {
  display: block;
  font-family: var(--rbc-font-heading);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.map-placeholder p { margin: 0; color: var(--rbc-slate-light); }

/* ==========================================================================
   Page Content (page.php, legal templates)
   ========================================================================== */
.page-content { padding: 70px 20px; }
.page-content .container { max-width: 840px; }
.page-content h1 { font-size: 2.2rem; }
.page-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.page-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.page-content p, .page-content li { color: var(--rbc-slate); }
.page-content ul, .page-content ol { padding-left: 24px; }
.page-content li { margin-bottom: 6px; }

.legal-summary {
  background: var(--rbc-rose-blush);
  border-left: 4px solid var(--rbc-rose-gold);
  border-radius: 0 var(--rbc-radius) var(--rbc-radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.legal-summary p { margin: 4px 0; color: var(--rbc-slate-dark); }

/* ==========================================================================
   Footer — Legal Business Footer (Meta verification critical)
   ========================================================================== */
.site-footer {
  background: var(--rbc-slate-dark);
  color: #cbd5e1;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  max-width: var(--rbc-max-width);
  margin: 0 auto;
  padding: 64px 20px 40px;
}
.site-footer h4 {
  color: var(--rbc-white);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.site-footer p { margin: 6px 0; font-size: 0.95rem; }
.site-footer a { color: var(--rbc-rose-gold-light); }
.site-footer a:hover { color: var(--rbc-white); }

.footer-legal-name {
  font-family: var(--rbc-font-heading);
  font-size: 1.35rem;
  color: var(--rbc-white);
  margin-bottom: 12px;
}
.footer-address { line-height: 1.9; }

.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-license {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  max-width: var(--rbc-max-width);
  margin: 0 auto;
  padding: 20px;
  font-size: 0.9rem;
}
.footer-license strong { color: var(--rbc-white); }

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 18px 20px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--rbc-slate-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .menu-toggle { display: inline-block; }
  .main-navigation { display: none; width: 100%; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 0 8px; }
  .site-header-inner { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 20px; }
  .section { padding: 56px 20px; }
  .admin-bar .site-header { top: 46px; }
}
