/*
Theme Name: Beauty Salon v1.2
Theme URI: https://pressmegpt.com
Author: PressMeGPT
Author URI: https://pressmegpt.com
Description: Block theme created with PressMeGPT.com - AI WordPress Theme Generator.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.4
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: beauty-salon
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu

Block theme created with PressMeGPT.com - AI WordPress Theme Generator.
*/

/* ============================================
   Theme Defaults - Header/Footer/Button
   These styles ensure the design matches the preview.
   Users can override via Site Editor.
   ============================================ */

:root {
  --pm-header-bg: #ffffff;
  --pm-header-text: #2b2b2b;
  --pm-footer-bg: #f8f8f8;
  --pm-footer-text: #5c5c5c;
}

/* Header styling - frontend AND Site Editor */
header.wp-block-template-part,
.wp-block-template-part[data-area="header"] header.wp-block-group,
.editor-styles-wrapper header.wp-block-group,
.edit-site-visual-editor [data-type="core/template-part"] header.wp-block-group {
  background-color: var(--pm-header-bg);
  color: var(--pm-header-text);
  padding: 20px 30px;
}

header.wp-block-template-part a,
.wp-block-template-part[data-area="header"] a,
.editor-styles-wrapper header.wp-block-group a,
.edit-site-visual-editor [data-type="core/template-part"] header.wp-block-group a {
  color: var(--pm-header-text);
}

/* Header navigation links */
header.wp-block-template-part .wp-block-navigation a,
header.wp-block-template-part .wp-block-navigation-item__content,
.editor-styles-wrapper header.wp-block-group .wp-block-navigation a,
.editor-styles-wrapper header.wp-block-group .wp-block-navigation-item__content {
  color: var(--pm-header-text);
}

/* Footer styling - frontend AND Site Editor */
footer.wp-block-template-part,
.wp-block-template-part[data-area="footer"] footer.wp-block-group,
.editor-styles-wrapper footer.wp-block-group,
.edit-site-visual-editor [data-type="core/template-part"] footer.wp-block-group {
  background-color: var(--pm-footer-bg);
  color: var(--pm-footer-text);
  padding: 60px 30px;
}

footer.wp-block-template-part a,
.wp-block-template-part[data-area="footer"] a,
.editor-styles-wrapper footer.wp-block-group a,
.edit-site-visual-editor [data-type="core/template-part"] footer.wp-block-group a {
  color: var(--pm-footer-text);
}

/* Footer social links */
footer.wp-block-template-part .wp-block-social-links a,
.editor-styles-wrapper footer.wp-block-group .wp-block-social-links a {
  color: var(--pm-footer-text);
}

/* Sticky header - ensures header stays at top on scroll */
header.wp-block-template-part,
header.wp-block-group {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Remove gap between header, main content, and footer */
.wp-site-blocks > header,
.wp-site-blocks > footer.wp-block-template-part,
.wp-site-blocks > main {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

main.wp-block-group.is-layout-flow {
  margin-top: 0;
  margin-bottom: 0;
}

/* Button reset - prevent double-button from wrapper styling */
.wp-block-button {
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}

/* Base button styling - uses extracted button colors from design settings */
.wp-block-button__link,
.wp-element-button {
  background-color: #b54ea0 !important;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: filter 0.2s ease;
}

/* Button hover states - uses extracted hover color or darkens */
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-element-button:hover,
.wp-element-button:focus {
  background-color: #9c4088 !important;
  color: #ffffff !important;
  filter: brightness(0.85);
  opacity: 1;
}

/* Navigation menu spacing */
.wp-block-navigation__container {
  gap: 1.5rem;
}

/* Ensure columns have proper gaps */
.wp-block-columns {
  gap: 2rem;
}

.wp-block-column > * + * {
  margin-top: 1rem;
}

/* Center buttons inside cover blocks */
.wp-block-cover .wp-block-buttons {
  justify-content: center;
}

/* ============================================
   Header CTA Buttons
   ============================================ */
header .wp-block-buttons.header-cta-buttons {
  margin-left: 1.5rem;
  gap: 0.75rem;
}

header .wp-block-buttons .wp-block-button__link {
  padding: 10px 20px;
  font-weight: 600;
  white-space: nowrap;
}

/* Secondary button style (outline) in header */
header .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: #b54ea0 !important;
  border: 2px solid #b54ea0;
}

header .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #b54ea0 !important;
  color: #ffffff !important;
}

/* Hide header CTA buttons on mobile - hamburger menu takes over */
@media (max-width: 768px) {
  header .wp-block-buttons.header-cta-buttons {
    display: none;
  }
}

/* ============================================
   Navigation CTA Button Classes
   Add these classes to menu items in Site Editor to style as buttons
   ============================================ */
.wp-block-navigation-item.nav-button-primary .wp-block-navigation-item__content {
  background-color: #b54ea0;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: filter 0.2s ease;
}

.wp-block-navigation-item.nav-button-primary .wp-block-navigation-item__content:hover {
  filter: brightness(0.85);
}

.wp-block-navigation-item.nav-button-secondary .wp-block-navigation-item__content {
  background-color: transparent;
  color: #b54ea0 !important;
  padding: 10px 20px;
  border-radius: 4px;
  border: 2px solid #b54ea0;
  font-weight: 600;
  transition: all 0.2s ease;
}

.wp-block-navigation-item.nav-button-secondary .wp-block-navigation-item__content:hover {
  background-color: #b54ea0;
  color: #ffffff !important;
}

/* ============================================
   Custom styles from Theme Designer
   ============================================ */
:root {
  --td-color-primary: #b54ea0;
  --td-color-secondary: #c9a87c;
  --td-color-background: #fffafa;
  --td-color-text: #5c5c5c;
  --td-color-heading: #2b2b2b;
  --td-color-link: #b54ea0;
  --td-color-link-hover: #9c4088;
  --td-color-btn-primary-bg: #b54ea0;
  --td-color-btn-primary-text: #ffffff;
  --td-color-btn-primary-hover: #9c4088;
  --td-color-btn-secondary-bg: #c9a87c;
  --td-color-btn-secondary-text: #ffffff;
  --td-color-btn-secondary-hover: #b3956d;
  --td-color-header-bg: #ffffff;
  --td-color-header-text: #2b2b2b;
  --td-color-footer-bg: #f8f8f8;
  --td-color-footer-text: #5c5c5c;
  /* neutralized: /* neutralized: --td-font-body: 'Inter', sans-serif; */ */
  /* neutralized: /* neutralized: --td-font-heading: 'Playfair Display', serif; */ */
  /* neutralized: /* neutralized: --td-font-size-base: 16px; */ */
  /* neutralized: /* neutralized: --td-heading-scale: 1.25; */ */
}

body { font-family: var(--td-font-body); font-size: var(--td-font-size-base); color: var(--td-color-text); background-color: var(--td-color-background); line-height: 1.6; margin: 0; }
* { box-sizing: border-box; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
img { max-width: 100%; height: auto; }
a { color: var(--td-color-link); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--td-color-link-hover); }

h1, h2, h3, h4, h5, h6 { font-family: var(--td-font-heading); color: var(--td-color-heading); margin: 0 0 1rem 0; line-height: 1.2; }
h1 { font-size: 3.052rem; }
h2 { font-size: 2.441rem; }
h3 { font-size: 1.953rem; }
p { margin: 0 0 1rem 0; }
ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* Header */
.site-header { background-color: var(--td-color-header-bg); border-bottom: 1px solid #eee; padding: 15px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-title { font-family: var(--td-font-heading); font-size: 1.8rem; font-weight: 700; color: var(--td-color-heading); }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.main-navigation a { color: var(--td-color-header-text); font-weight: 500; font-size: 1rem; }
.menu-toggle { display: none; background: transparent; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero-section { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1600948836101-f9ffda59d250?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0OTg3NjJ8MHwxfHNlYXJjaHwxfHxzYWxvbnxlbnwwfDB8fHwxNjk5NjE3NzM0fDA&ixlib=rb-4.1.0&q=80&w=1080'); background-size: cover; background-position: center; padding: 100px 0; color: #fff; }
.hero-section .container { position: relative; z-index: 2; }
.hero-title { font-size: 4rem; color: #fff; margin-bottom: 1rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; color: #fff; opacity: 0.9; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; border: none; cursor: pointer; transition: background-color 0.3s ease; }
.btn-primary { background-color: var(--td-color-btn-primary-bg); color: var(--td-color-btn-primary-text); }
.btn-primary:hover { background-color: var(--td-color-btn-primary-hover); }

/* Services Section */
.services-section { padding: 80px 0; }
.section-header { margin-bottom: 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background-color: #fff; padding: 2.5rem 2rem; text-align: center; border: 1px solid #eee; border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.07); }
.card-icon { font-size: 2.5rem; color: var(--td-color-primary); margin-bottom: 1.5rem; }
.service-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.service-description { font-size: 0.95rem; }

/* Footer */
.site-footer { background-color: var(--td-color-footer-bg); color: var(--td-color-footer-text); padding: 40px 0; font-size: 0.9rem; }
.site-footer a { color: var(--td-color-primary); }
.site-footer a:hover { text-decoration: underline; }

/* Tablet Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.441rem; }
  .hero-title { font-size: 3rem; }
  .hero-section { padding: 80px 0; }
  .services-section { padding: 60px 0; }
  section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .main-navigation ul { display: none; position: absolute; top: 75px; left: 0; right: 0; background-color: var(--td-color-header-bg); flex-direction: column; width: 100%; padding: 1rem 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
  .main-navigation ul.active { display: flex; }
  .main-navigation li { text-align: center; padding: 10px 0; }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-section { padding: 60px 0; }
  .services-section { padding: 40px 0; }
  .service-card { padding: 2rem 1.5rem; }
}



/* Theme Designer - Typography Settings */
:root {
  --td-font-body: 'Lato', sans-serif;
  --td-font-heading: 'Playfair Display', serif;
  --td-font-size-base: 18px;
  --td-heading-scale: 1.35;
}

body {
  font-family: var(--td-font-body) !important;
  font-size: var(--td-font-size-base) !important;
}

h1, .h1 { font-family: var(--td-font-heading) !important; font-size: 81px !important; }
h2, .h2 { font-family: var(--td-font-heading) !important; font-size: 60px !important; }
h3, .h3 { font-family: var(--td-font-heading) !important; font-size: 44px !important; }
h4, .h4 { font-family: var(--td-font-heading) !important; font-size: 33px !important; }
h5, .h5 { font-family: var(--td-font-heading) !important; font-size: 24px !important; }
h6, .h6 { font-family: var(--td-font-heading) !important; font-size: 18px !important; }

p, .text, .body-text { font-family: var(--td-font-body) !important; font-size: var(--td-font-size-base) !important; }
/* End Theme Designer - Typography Settings */
