/*
Theme Name: Bella Luxury Salon & Spa
Theme URI: https://bella-salon.example.com
Author: Bella Hair & Spa Design Team
Author URI: https://bella-salon.example.com
Description: High-performance, bespoke WordPress parent theme for luxury hair salons, spas, and wellness centers featuring custom booking CPTs and responsive layouts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: luxury, salon, spa, hair, balayage, booking, elementor-ready, responsive-layout
Text Domain: bella-salon
*/

/* --- CSS VARIABLES & THEME RESET --- */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --color-gold-200: #f3e8d3;
  --color-gold-300: #e3ca9e;
  --color-gold-400: #d4af37;
  --color-gold-500: #bc9f77;
  --color-gold-600: #a08258;
  --color-gold-700: #7d633e;
  
  --color-stone-950: #0c0b0a;
  --color-stone-900: #181614;
  --color-stone-850: #221f1c;
  --color-stone-800: #2e2a26;
  --color-stone-700: #423d37;
  --color-stone-600: #635c53;
  --color-stone-400: #9e9589;
  --color-stone-200: #e8e4df;
  --color-stone-100: #f7f5f2;
  --color-stone-50:  #fcfbfa;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-stone-50);
  color: var(--color-stone-800);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

/* --- UTILITY CLASSES --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold-500); }
.text-white { color: #ffffff; }
.bg-dark { background-color: var(--color-stone-950); color: #ffffff; }
.bg-stone-900 { background-color: var(--color-stone-900); }
.bg-light { background-color: var(--color-stone-100); }

.eyebrow {
  color: var(--color-gold-500);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

.bella-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: var(--color-gold-500);
  color: var(--color-stone-950);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  border: 1px solid var(--color-gold-500);
  transition: all 0.25s ease;
  cursor: pointer;
}

.bella-btn-primary:hover {
  background-color: var(--color-gold-600);
  border-color: var(--color-gold-600);
  color: #ffffff;
}

.bella-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: transparent;
  color: var(--color-gold-300);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  border: 1px solid var(--color-gold-500);
  transition: all 0.25s ease;
  cursor: pointer;
}

.bella-btn-outline:hover {
  background-color: var(--color-gold-500);
  color: var(--color-stone-950);
}

.badge-gold {
  background-color: rgba(188, 159, 119, 0.15);
  color: var(--color-gold-400);
  border: 1px solid rgba(188, 159, 119, 0.3);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: inline-block;
}

/* --- NAVIGATION & HEADER --- */
.bella-top-bar {
  background-color: #050505;
  color: var(--color-stone-400);
  font-size: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bella-top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bella-site-header {
  background-color: var(--color-stone-950);
  color: #ffffff;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(188, 159, 119, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.bella-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bella-logo-text {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.bella-logo-sub {
  font-size: 0.55rem;
  color: var(--color-gold-500);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.bella-main-nav-list {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.bella-main-nav-list a {
  color: #d1c7bc;
  position: relative;
  padding-bottom: 0.25rem;
}

.bella-main-nav-list a:hover,
.bella-main-nav-list .current-menu-item a {
  color: var(--color-gold-300);
}

.bella-main-nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-gold-400);
  transition: width 0.25s ease;
}

.bella-main-nav-list a:hover::after,
.bella-main-nav-list .current-menu-item a::after {
  width: 100%;
}

/* --- HERO BANNER --- */
.bella-hero-section {
  position: relative;
  background-color: var(--color-stone-950);
  color: #ffffff;
  padding: 7rem 0 8rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.bella-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.85) 0%, rgba(12, 11, 10, 0.95) 100%);
}

.bella-hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.bella-hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.bella-hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-stone-400);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* --- SECTION CONTAINERS --- */
.bella-section {
  padding: 6rem 0;
}

.bella-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.bella-section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.bella-section-desc {
  color: var(--color-stone-600);
  font-size: 1rem;
  line-height: 1.7;
}

/* --- STATS BAR --- */
.bella-stats-bar {
  background-color: var(--color-stone-900);
  border-top: 1px solid rgba(188, 159, 119, 0.2);
  border-bottom: 1px solid rgba(188, 159, 119, 0.2);
  padding: 2.5rem 0;
  color: #ffffff;
}

.bella-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.bella-stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-gold-400);
  margin-bottom: 0.25rem;
}

.bella-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-stone-400);
}

/* --- FEATURE CARDS & SERVICE GRID --- */
.bella-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.bella-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
}

.bella-card {
  background-color: #ffffff;
  border: 1px solid var(--color-stone-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bella-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.07);
  border-color: var(--color-gold-500);
}

.bella-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.bella-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bella-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-stone-950);
}

.bella-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--color-stone-200);
  font-size: 0.85rem;
  color: var(--color-stone-600);
}

.bella-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-gold-600);
  font-weight: 600;
}

.bella-card-desc {
  color: var(--color-stone-600);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* --- STYLIST PROFILE CARDS --- */
.bella-stylist-card {
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  padding: 2.5rem 1.5rem;
  transition: border-color 0.3s ease;
}

.bella-stylist-card:hover {
  border-color: var(--color-gold-500);
}

.bella-stylist-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--color-gold-400);
  padding: 3px;
}

.bella-stylist-name {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.bella-stylist-role {
  color: var(--color-gold-600);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* --- BEFORE & AFTER / PORTFOLIO --- */
.bella-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.bella-portfolio-item {
  position: relative;
  overflow: hidden;
  background-color: var(--color-stone-900);
  aspect-ratio: 4/5;
  border: 1px solid var(--color-stone-800);
}

.bella-portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bella-portfolio-item:hover .bella-portfolio-img {
  transform: scale(1.05);
}

.bella-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 11, 10, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #ffffff;
}

/* --- BOOKING FORM --- */
.bella-booking-container {
  background-color: #ffffff;
  border: 1px solid var(--color-stone-200);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: 3.5rem;
}

.bella-form-group {
  margin-bottom: 1.75rem;
}

.bella-form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-stone-800);
  margin-bottom: 0.5rem;
}

.bella-form-input,
.bella-form-select,
.bella-form-textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--color-stone-200);
  background-color: var(--color-stone-50);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-stone-900);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bella-form-input:focus,
.bella-form-select:focus,
.bella-form-textarea:focus {
  border-color: var(--color-gold-500);
  background-color: #ffffff;
}

/* --- FOOTER --- */
.bella-site-footer {
  background-color: var(--color-stone-950);
  color: var(--color-stone-400);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(188, 159, 119, 0.2);
}

.bella-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.bella-footer-title {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.bella-footer-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-stone-400);
}

.bella-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--color-stone-600);
}

/* --- WORDPRESS BLOCK & MENU COMPATIBILITY --- */
body.admin-bar .bella-site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .bella-site-header {
    top: 46px;
  }
}

.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1.5rem; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.entry-content {
  color: var(--color-stone-800);
  line-height: 1.85;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  color: var(--color-stone-950);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content img {
  border: 1px solid var(--color-stone-200);
  margin: 1.5rem 0;
}

/* Submenu & Dropdown Navigation */
.bella-main-nav-list ul,
.bella-main-nav-list .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bella-main-nav-list .menu-item-has-children {
  position: relative;
}

.bella-main-nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-stone-950);
  border: 1px solid rgba(188, 159, 119, 0.3);
  min-width: 220px;
  display: none;
  z-index: 100;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.bella-main-nav-list .menu-item-has-children:hover > .sub-menu {
  display: block;
}

.bella-main-nav-list .sub-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
  color: #d1c7bc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bella-main-nav-list .sub-menu a:hover {
  color: var(--color-gold-300);
  background-color: rgba(188, 159, 119, 0.1);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .bella-hero-title { font-size: 2.5rem; }
  .bella-section { padding: 4rem 0; }
  .bella-grid-2 { grid-template-columns: 1fr; }
  .bella-booking-container { padding: 2rem; }
}

@media (max-width: 768px) {
  .bella-main-nav-list { display: none; } /* On mobile, simplify nav */
  .bella-hero-title { font-size: 2rem; }
  .bella-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
