/* ============================================================
   Sahna Speaks — Stylesheet matching original Mandala theme
   Font: Ubuntu | Accent: #ffacaa | Text: #4c545c | Dark: #262b30
   ============================================================ */

/* ---- Reset & Variables ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:       #ffacaa;
  --accent-dark:  #e08a88;
  --bg:           #ffffff;
  --bg-alt:       #e7eaee;
  --text:         #4c545c;
  --text-dark:    #262b30;
  --text-light:   #9fadbc;
  --text-muted:   #9fadbc;
  --text-link:    #ffacaa;
  --border:       #eaebed;
  --input-bg:     #f1f5f8;
  --dark-bg:      #32373d;
  --darker-bg:    #262b30;
  --font-body:    'Ubuntu', 'Helvetica Neue', Arial, sans-serif;
  --radius:       3px;
  --shadow:       0 2px 12px rgba(0,0,0,0.10);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.14);
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; font-size: 14px; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.77; font-weight: 300; font-size: 1em; letter-spacing: 0.05em; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--text-link); text-decoration: none; transition: all var(--transition); }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
p  { margin-bottom: 1.1em; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-body); line-height: 1.25; color: var(--text-dark); font-weight: 700; letter-spacing: 0.075em; }
h1 { font-size: 2.4em; }
h2 { font-size: 2.2em; letter-spacing: 0.1em; }
h3 { font-size: 1.6em; font-weight: 400; letter-spacing: 0.1em; }
h4 { font-size: 1.3em; font-weight: 300; letter-spacing: 0.1em; }

/* ---- Layout ---- */
.content-wrap { max-width: 1170px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
.columns { display: grid; gap: 2rem; }
.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-4 { grid-template-columns: repeat(4, 1fr); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p  { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-bg .section-title p { background: rgba(255,255,255,0.75); display: inline-block; padding: 0.2rem 0.75rem; border-radius: 4px; }
.divider { width: 60px; height: 3px; background: var(--accent); margin: 0.75rem auto 0; }

/* ---- Header ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 60px; width: auto; }
.logo-text { font-family: var(--font-body); font-size: 1.3rem; color: var(--text-dark); font-weight: 700; white-space: nowrap; letter-spacing: 0.05em; }
.main-nav { display: flex; align-items: center; gap: 0; }
.nav-link { padding: 0.5rem 1rem; font-weight: 400; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: capitalize; color: var(--text-dark); transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--text-dark); padding: 0.25rem; }

/* ---- Hero ---- */
.hero-slider { position: relative; height: 90vh; min-height: 500px; overflow: hidden; margin-top: 50px; background: #fff; }
.slide { position: absolute; inset: 0; background-size: contain; background-position: center center; background-repeat: no-repeat; background-color: #fff; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide-overlay { display: none; }
.slide-content { position: absolute; top: 50%; left: 6%; transform: translateY(-50%); max-width: 420px; }
.slide-content h1 { color: var(--text-dark); font-size: 2.8em; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 0.75rem; text-shadow: none; line-height: 1.2; }
.slide-content p  { font-size: 1.1rem; margin-bottom: 1.75rem; color: var(--text); letter-spacing: 0.05em; }

/* ---- Buttons ---- */
.btn { display: inline-block; padding: 0.7rem 1.75rem; border-radius: var(--radius); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; font-family: var(--font-body); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--text-dark); border-color: var(--text-dark); }
.btn-outline:hover { background: var(--text-dark); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--text-dark); }
.btn-gold { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-gold:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* ---- Welcome / Intro strip ---- */
.welcome-strip { background: var(--bg-alt); color: var(--text); padding: 4rem 0; }
.welcome-strip .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.welcome-strip h2 { color: var(--text-dark); }
.welcome-strip p  { color: var(--text); }
.welcome-strip img { border-radius: var(--radius); }

/* ---- Features / Icons ---- */
.feature-card { text-align: center; padding: 2.5rem 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 700; }
.feature-card p  { color: var(--text-light); font-size: 0.95rem; }

/* ---- Blog Cards ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card-img { height: 220px; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.5rem; display: flex; gap: 0.75rem; align-items: center; }
.post-cat { background: var(--accent); color: #fff; padding: 0.15rem 0.6rem; border-radius: 2px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.post-card h3 { font-size: 1em; margin-bottom: 0.6rem; line-height: 1.4; font-weight: 700; letter-spacing: 0.05em; }
.post-card h3 a { color: var(--text-dark); }
.post-card h3 a:hover { color: var(--accent); }
.post-card p  { color: var(--text-light); font-size: 0.9rem; flex: 1; }
.post-card .read-more { display: inline-block; margin-top: 1rem; font-weight: 700; font-size: 0.8rem; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.post-card .read-more::after { content: ' →'; }
.post-card .read-more:hover { color: var(--accent-dark); }

/* ---- CTA Banner ---- */
.cta-banner { background: var(--darker-bg); color: #fff; padding: 5rem 0; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ---- Services Page ---- */
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-card-img { height: 250px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 2rem; }
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.2em; }
.service-card p  { color: var(--text-light); margin-bottom: 1.25rem; }

/* ---- About Page ---- */
.about-hero { margin-top: 80px; background: var(--bg-alt); padding: 5rem 0; }
.about-hero .inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img img { width: 100%; }
.credentials { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.credential-badge { background: var(--accent); color: #fff; padding: 0.35rem 0.85rem; border-radius: 2px; font-size: 0.8rem; font-weight: 700; }

/* ---- Blog Listing ---- */
.blog-hero { margin-top: 80px; background: var(--darker-bg); color: #fff; padding: 4rem 0; text-align: center; }
.blog-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.blog-hero p  { color: rgba(255,255,255,0.7); }
.blog-layout  { padding: 4rem 0; }
.blog-main    { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }
.sidebar-widget { background: var(--bg-alt); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.sidebar-widget h4 { margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent); font-size: 1rem; }
.sidebar-widget ul li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget a { color: var(--text); }
.sidebar-widget a:hover { color: var(--accent); }
.cat-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.cat-btn { padding: 0.4rem 1rem; border: 1px solid var(--border); border-radius: 20px; font-size: 0.85rem; cursor: pointer; background: #fff; color: var(--text); transition: all var(--transition); font-family: var(--font-body); }
.cat-btn:hover, .cat-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- Single Post ---- */
.post-hero { margin-top: 80px; min-height: 380px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding-bottom: 3rem; position: relative; }
.post-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15)); }
.post-hero-content { position: relative; z-index: 1; color: #fff; max-width: 800px; }
.post-hero-content h1 { color: #fff; }
.post-hero-content .post-meta { color: rgba(255,255,255,0.8); }
.post-article { max-width: 800px; margin: 3rem auto; padding: 0 1.5rem; }
.post-article h2, .post-article h3 { margin: 2rem 0 0.75rem; }
.post-article p  { margin-bottom: 1.25rem; line-height: 1.85; }
.post-article blockquote { border-left: 4px solid var(--accent); padding: 1rem 1.5rem; background: var(--bg-alt); margin: 1.5rem 0; font-style: italic; color: var(--text-light); }
.related-posts { background: var(--bg-alt); padding: 4rem 0; }

/* ---- Contact Page ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem 0; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p  { color: var(--text); margin-bottom: 0.75rem; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.contact-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.contact-form { background: var(--bg-alt); border-radius: var(--radius); padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 400; font-size: 0.875rem; color: var(--text); letter-spacing: 0.05em; }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; background: var(--input-bg); color: var(--text); transition: border-color var(--transition), box-shadow var(--transition); letter-spacing: 0.03em; }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,172,170,0.2); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-message { display: none; padding: 1rem; border-radius: var(--radius); margin-top: 1rem; font-weight: 700; }
.form-message.success { background: #d4edda; color: #155724; display: block; }
.form-message.error   { background: #f8d7da; color: #721c24; display: block; }

/* ---- Page Hero (generic) ---- */
.page-hero { margin-top: 80px; background: var(--darker-bg); padding: 4rem 0; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p  { color: rgba(255,255,255,0.7); }
.breadcrumbs { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: #fff; }

/* ---- Floating Social Sidebar (right, matching Fuse plugin) ---- */
#social-sidebar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9999; display: flex; flex-direction: column; }
.social-float { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: #fff; font-weight: 900; font-size: 0.85rem; transition: width var(--transition), opacity var(--transition); text-decoration: none; opacity: 0.85; }
.social-float:hover { width: 58px; opacity: 1; }
.social-float.facebook  { background: #3b5998; }
.social-float.instagram { background: #e1306c; }
.social-float.youtube   { background: #ff0000; }
.social-float.linkedin  { background: #0077b5; }

/* ---- Footer ---- */
.site-footer { background: var(--darker-bg); color: rgba(255,255,255,0.5); }
.copyright-bar { padding: 1.5rem 1.5rem; }
.copyright-bar .content-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.copyright-bar span { font-size: 0.85rem; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; }
.footer-socials { display: flex; gap: 0.4rem; }
.footer-socials .social-icon { width: 30px; height: 30px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.75rem; transition: background var(--transition); text-decoration: none; }
.footer-socials .social-icon:hover { background: var(--accent); color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .col-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
  .blog-main { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.5rem; border-top: 1px solid var(--border); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .nav-link { padding: 0.75rem 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .col-3 { grid-template-columns: 1fr; }
  .col-2 { grid-template-columns: 1fr; }
  .welcome-strip .inner { grid-template-columns: 1fr; }
  .about-hero .inner { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .hero-slider { height: 70vh; }
  .slide { background-position: center; background-size: contain; }
  .slide-content { left: 5%; right: 5%; max-width: none; }
  .slide-content h1 { font-size: 1.8em; }
  #social-sidebar { display: none; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-widgets { grid-template-columns: 1fr; }
  .hero-slider { height: 60vh; }
}
