/*
Theme Name: Bubbly & Sidra Spa
Theme URI: https://example.com
Author: YouGoApk
Author URI: https://example.com
Description: Custom WordPress theme for Bubbly & Sidra Massage Center — a spa and wellness business site with services, pricing, blog and contact pages. Built by YouGoApk.
Version: 1.0
Requires at least: 6.0
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: bubbly-sidra-spa
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --plum:#5C1F3A;
  --plum-dark:#3E1327;
  --sage:#8FA07C;
  --sage-dark:#6C7F58;
  --blush:#FBF4F1;
  --paper:#FFFDFB;
  --ink:#2A1620;
  --ink-soft:#6B5763;
  --gold:#C79A3D;
  --line: rgba(92,31,58,0.14);
  --radius: 6px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Work Sans', sans-serif;
  color:var(--ink);
  background:var(--blush);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Fraunces', serif;
  font-weight:600;
  color:var(--plum-dark);
  line-height:1.15;
  margin:0 0 .5em;
}
p{margin:0 0 1em; color:var(--ink-soft); max-width:62ch;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.container{max-width:1140px; margin:0 auto; padding:0 24px;}
section{padding:88px 0;}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,253,251,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px; max-width:1140px; margin:0 auto;
}
.brand{display:flex; align-items:center; gap:12px;}
.brand-mark{width:44px; height:44px; flex-shrink:0;}
.brand-text .name{font-family:'Fraunces', serif; font-size:20px; font-weight:600; color:var(--plum-dark); display:block;}
.brand-text .tag{font-size:11px; letter-spacing:.06em; color:var(--sage-dark);}
nav.main-nav{display:flex; gap:32px;}
nav.main-nav a{font-size:15px; font-weight:500; color:var(--ink); padding:6px 0; border-bottom:2px solid transparent; transition:border-color .2s;}
nav.main-nav a:hover, nav.main-nav a.active{border-bottom-color:var(--gold); color:var(--plum-dark);}
.header-cta{display:flex; align-items:center; gap:14px;}
.btn{
  display:inline-block; padding:12px 26px; border-radius:var(--radius);
  font-weight:600; font-size:14px; letter-spacing:.01em;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn-primary{background:var(--plum); color:#fff;}
.btn-primary:hover{transform:translateY(-1px); box-shadow:0 8px 18px rgba(92,31,58,.28);}
.btn-outline{border:1.5px solid var(--plum); color:var(--plum-dark);}
.btn-outline:hover{background:var(--plum); color:#fff;}
.btn-sage{background:var(--sage); color:#fff;}
.menu-toggle{display:none; background:none; border:0; font-size:26px; color:var(--plum-dark); cursor:pointer;}

/* Hero */
.hero{
  padding:96px 0 80px;
  background:
    radial-gradient(circle at 82% 20%, rgba(143,160,124,.18), transparent 55%),
    radial-gradient(circle at 8% 90%, rgba(199,154,61,.14), transparent 45%);
}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;}
.eyebrow-plain{color:var(--sage-dark); font-weight:600; font-size:14px; margin-bottom:14px;}
.hero h1{font-size:52px; letter-spacing:-.01em;}
.hero p.lede{font-size:18px; max-width:46ch; margin-top:18px;}
.hero-actions{display:flex; gap:16px; margin-top:32px; flex-wrap:wrap;}
.hero-stats{display:flex; gap:36px; margin-top:44px;}
.hero-stats div b{display:block; font-family:'Fraunces',serif; font-size:28px; color:var(--plum-dark);}
.hero-stats div span{font-size:13px; color:var(--ink-soft);}
.hero-visual{position:relative;}
.hero-visual img{border-radius:14px; width:100%; height:460px; object-fit:cover; box-shadow:0 30px 60px -20px rgba(62,19,39,.35);}
.hero-badge{
  position:absolute; left:-24px; bottom:-24px; background:#fff; border-radius:12px;
  padding:16px 20px; box-shadow:0 18px 40px -14px rgba(62,19,39,.3);
  display:flex; align-items:center; gap:12px; max-width:230px;
}
.hero-badge .stars{color:var(--gold); font-size:15px; letter-spacing:1px;}
.hero-badge b{display:block; font-family:'Fraunces',serif; font-size:18px; color:var(--plum-dark);}
.hero-badge span{font-size:12px; color:var(--ink-soft);}

/* Section headings */
.section-head{max-width:640px; margin-bottom:48px;}
.section-head .kicker{color:var(--sage-dark); font-weight:600; font-size:14px; margin-bottom:10px;}
.section-head h2{font-size:36px;}
.alt{background:var(--paper);}

/* Services grid */
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.service-card{
  background:var(--paper); border:1px solid var(--line); border-radius:14px; overflow:hidden;
  transition:box-shadow .2s ease, transform .2s ease;
}
.service-card:hover{box-shadow:0 24px 48px -22px rgba(62,19,39,.28); transform:translateY(-3px);}
.service-card img{height:190px; width:100%; object-fit:cover;}
.service-card .sc-body{padding:22px 24px 26px;}
.service-card h3{font-size:20px; margin-bottom:8px;}
.service-card .price-tag{display:inline-block; margin-top:10px; font-weight:600; color:var(--plum); font-size:14px;}
.service-card .rating-row{margin-top:10px; display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-soft);}
.service-card .rating-row .stars{color:var(--gold); letter-spacing:1px;}

/* Why us / feature list */
.feature-list{display:grid; grid-template-columns:repeat(3,1fr); gap:32px;}
.feature-item{border-top:2px solid var(--sage); padding-top:18px;}
.feature-item h3{font-size:19px; margin-bottom:8px;}

/* Testimonials */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.testi-card{background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:28px;}
.testi-card .stars{color:var(--gold); font-size:16px; letter-spacing:2px; margin-bottom:12px;}
.testi-card p{font-size:15px; color:var(--ink);}
.testi-person{display:flex; align-items:center; gap:12px; margin-top:18px;}
.testi-person .avatar{width:42px; height:42px; border-radius:50%; object-fit:cover;}
.testi-person b{display:block; font-size:14px; color:var(--plum-dark);}
.testi-person span{font-size:12px; color:var(--ink-soft);}

/* Star rating widget */
.rate-box{
  background:var(--plum); color:#fff; border-radius:16px; padding:44px; text-align:center;
}
.rate-box h3{color:#fff; font-size:24px;}
.rate-box p{color:rgba(255,255,255,.8); margin:0 auto 20px;}
.star-widget{display:flex; gap:8px; justify-content:center; font-size:34px; cursor:pointer;}
.star-widget .star{color:rgba(255,255,255,.35); transition:color .15s;}
.star-widget .star.filled, .star-widget .star:hover, .star-widget .star:hover ~ .star{color:var(--gold);}
.rate-msg{margin-top:14px; font-size:14px; color:var(--gold); min-height:20px;}

/* FAQ */
.faq-item{border-bottom:1px solid var(--line); padding:20px 0;}
.faq-item summary{cursor:pointer; font-family:'Fraunces',serif; font-size:18px; color:var(--plum-dark); list-style:none; display:flex; justify-content:space-between; align-items:center;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'+'; font-size:22px; color:var(--sage-dark);}
.faq-item[open] summary::after{content:'\2212';}
.faq-item p{margin-top:12px;}

/* CTA band */
.cta-band{background:var(--sage); color:#fff; text-align:center; padding:64px 0;}
.cta-band h2{color:#fff;}
.cta-band p{color:rgba(255,255,255,.85); margin:0 auto 26px;}
.cta-band .btn-primary{background:var(--plum-dark);}

/* Footer */
footer{background:var(--plum-dark); color:rgba(255,255,255,.8); padding:64px 0 28px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px;}
footer h4{color:#fff; font-size:15px; margin-bottom:16px; font-family:'Work Sans',sans-serif; font-weight:600;}
footer p{color:rgba(255,255,255,.65); font-size:14px;}
footer a{color:rgba(255,255,255,.65); font-size:14px; display:block; margin-bottom:10px;}
footer a:hover{color:#fff;}
.footer-brand{display:flex; align-items:center; gap:10px; margin-bottom:14px;}
.footer-brand .name{font-family:'Fraunces',serif; color:#fff; font-size:19px;}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,.14); margin-top:48px; padding-top:22px;
  display:flex; justify-content:space-between; font-size:13px; color:rgba(255,255,255,.55); flex-wrap:wrap; gap:8px;
}

/* Page hero (interior pages) */
.page-hero{
  padding:64px 0 56px; background:linear-gradient(180deg, rgba(143,160,124,.14), transparent);
  border-bottom:1px solid var(--line);
}
.page-hero h1{font-size:40px;}
.breadcrumb{font-size:13px; color:var(--ink-soft); margin-bottom:14px;}
.breadcrumb a{color:var(--sage-dark);}

/* Pricing table */
.pricing-table{width:100%; border-collapse:collapse; background:var(--paper); border-radius:14px; overflow:hidden; box-shadow:0 20px 50px -30px rgba(62,19,39,.3);}
.pricing-table th, .pricing-table td{padding:16px 22px; text-align:left; border-bottom:1px solid var(--line); font-size:15px;}
.pricing-table th{background:var(--plum); color:#fff; font-family:'Fraunces',serif; font-weight:500; font-size:15px;}
.pricing-table tr:last-child td{border-bottom:none;}
.pricing-table td.price{color:var(--plum); font-weight:600;}
.pricing-note{margin-top:18px; font-size:13px; color:var(--ink-soft);}

/* Blog */
.blog-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:30px;}
.blog-card{background:var(--paper); border:1px solid var(--line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column;}
.blog-card img{height:200px; object-fit:cover;}
.blog-card .bc-body{padding:22px 24px 26px; display:flex; flex-direction:column; flex:1;}
.blog-meta{font-size:12px; color:var(--sage-dark); font-weight:600; margin-bottom:8px;}
.blog-card h3{font-size:19px; margin-bottom:10px;}
.blog-card p{font-size:14px; flex:1;}
.blog-card .read-more{margin-top:12px; font-size:13px; font-weight:600; color:var(--plum);}
.pagination{display:flex; justify-content:center; gap:10px; margin-top:52px;}
.pagination a{
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line); border-radius:8px; font-size:14px; font-weight:600; color:var(--plum-dark);
}
.pagination a.active{background:var(--plum); color:#fff; border-color:var(--plum);}
.pagination a.next{width:auto; padding:0 18px;}
.pagination a:hover:not(.active){border-color:var(--plum);}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px;}
.contact-card{background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:28px; margin-bottom:18px;}
.contact-card h4{font-size:15px; color:var(--plum-dark); margin-bottom:6px;}
.contact-card a, .contact-card span{font-size:15px; color:var(--ink-soft);}
form.contact-form{display:flex; flex-direction:column; gap:16px;}
form.contact-form input, form.contact-form textarea{
  padding:14px 16px; border:1px solid var(--line); border-radius:8px; font-family:inherit; font-size:14px; background:#fff;
}
form.contact-form label{font-size:13px; font-weight:600; color:var(--plum-dark); margin-bottom:-8px;}
.map-embed{border-radius:14px; overflow:hidden; border:1px solid var(--line); height:280px; margin-top:24px;}
.map-embed iframe{width:100%; height:100%; border:0;}

/* Hours table */
.hours-table{width:100%;}
.hours-table td{padding:10px 0; border-bottom:1px dashed var(--line); font-size:14px;}
.hours-table td:last-child{text-align:right; color:var(--plum-dark); font-weight:600;}

/* Responsive */
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{order:-1;}
  .services-grid, .feature-list, .testi-grid, .blog-grid, .footer-grid{grid-template-columns:repeat(2,1fr);}
  nav.main-nav{position:fixed; top:73px; left:0; right:0; background:#fff; flex-direction:column; padding:20px 24px; gap:18px; border-bottom:1px solid var(--line); display:none;}
  nav.main-nav.open{display:flex;}
  .menu-toggle{display:block;}
  .header-cta .btn-outline{display:none;}
}
@media (max-width:640px){
  .hero h1{font-size:36px;}
  section{padding:60px 0;}
  .services-grid, .feature-list, .testi-grid, .blog-grid, .footer-grid, .contact-grid{grid-template-columns:1fr;}
  .hero-badge{position:static; margin-top:16px;}
  .pricing-table{font-size:13px;}
}

/* WordPress native pagination (paginate_links) styling */
.pagination{flex-wrap:wrap;}
.pagination .page-numbers{
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line); border-radius:8px; font-size:14px; font-weight:600; color:var(--plum-dark);
  text-decoration:none;
}
.pagination .page-numbers.current{background:var(--plum); color:#fff; border-color:var(--plum);}
.pagination .page-numbers.next, .pagination .page-numbers.prev{width:auto; padding:0 18px;}
.pagination .page-numbers:hover:not(.current){border-color:var(--plum);}

/* Single post */
.single-post-hero img{width:100%; height:340px; object-fit:cover; border-radius:14px; margin-bottom:12px;}
.single-content{max-width:72ch;}
.single-content p{color:var(--ink); font-size:16px;}
.back-to-blog{display:inline-block; margin-top:32px; font-weight:600; color:var(--plum);}
