/*
Theme Name: SEO Vibe Agency
Theme URI: https://seovibe.io/
Author: SEO Vibe Agency
Description: Color-neutral transparent glass WordPress theme shell with editable social links and native WordPress blog support.
Version: 1.6.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: seo-vibe
*/

/*
  COLOR POLICY:
  This theme deliberately does not impose a site color palette.
  Header/footer surfaces are transparent (no white/grey tint).
  Set your own colors in your custom CSS / child theme.
*/
:root {
  --sv-width: 1240px;
  --sv-font: "Red Hat Display", Arial, sans-serif;
  --sv-glass-blur: 18px;
  --sv-accent: currentColor;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sv-font);
  line-height: 1.65;
  overflow-x: hidden;
}
body.admin-bar .sv-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.sv-container { width: min(var(--sv-width), calc(100% - 44px)); margin-inline: auto; }

/* Clear, colorless glass: blur only, no white/grey background tint. */
.sv-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: transparent;
  -webkit-backdrop-filter: blur(var(--sv-glass-blur));
  backdrop-filter: blur(var(--sv-glass-blur));
  border: 0;
  box-shadow: none;
  transform: scale(.965);
  opacity: 0;
  animation: svHeaderZoom .72s cubic-bezier(.2,.8,.2,1) .08s forwards;
}
@keyframes svHeaderZoom {
  0% { transform: scale(.965); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.sv-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sv-brand { display: flex; align-items: center; min-width: 100px; max-width: 220px; }
.sv-brand img { display: block; width: 142px; height: auto; max-height: 86px; max-width: 100%; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.sv-brand .sv-animated-logo { animation: svLogoSettle .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes svLogoSettle { from { opacity: 0; transform: translateY(7px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
.sv-brand-name { font-size: 1.17rem; font-weight: 900; letter-spacing: -.045em; }
.sv-nav { margin-left: auto; }
.sv-nav ul { display: flex; align-items: center; gap: clamp(13px, 1.8vw, 25px); list-style: none; padding: 0; margin: 0; }
.sv-nav li { position: relative; list-style: none; }
.sv-nav a {
  position: relative;
  display: inline-block;
  padding: 9px 0;
  color: inherit;
  font-size: .93rem;
  font-weight: 750;
  white-space: nowrap;
  transition: opacity .22s ease, transform .22s ease;
}
.sv-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--sv-accent);
  border-radius: 5px;
  transition: right .28s cubic-bezier(.2,.8,.2,1);
}
.sv-nav a:hover, .sv-nav .current-menu-item > a, .sv-nav .current_page_item > a {
  opacity: .72;
  transform: translateY(-1px);
}
.sv-nav a:hover:after, .sv-nav .current-menu-item > a:after, .sv-nav .current_page_item > a:after { right: 0; }
.sv-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -15px;
  min-width: 210px;
  padding: 10px;
  margin: 0;
  display: grid;
  gap: 3px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s;
  z-index: 20;
}
.sv-nav li:hover > .sub-menu, .sv-nav li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sv-nav .sub-menu a { display: block; padding: 8px 10px; font-size: .88rem; }
.sv-nav .sub-menu a:after { bottom: 4px; left: 10px; right: 100%; }
.sv-nav .sub-menu a:hover:after { right: 10px; }

/* Header social icons use the official Simple Icons brand SVGs. */
.sv-header-socials { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.sv-header-social-link {
  width: 23px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, opacity .2s ease;
}
.sv-header-social-link:hover { transform: translateY(-3px); opacity: .72; }
.sv-header-social-link img { display: block; width: 22px; height: 22px; object-fit: contain; }
.sv-header-social-link.is-unconfigured { cursor: default; opacity: .85; }
.sv-header-social-link.is-unconfigured:hover { transform: none; opacity: .85; }

.sv-header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 15px; border: 1px solid currentColor; border-radius: 4px;
  color: inherit; background: transparent; font-size: .86rem; font-weight: 850;
  transition: transform .22s ease, opacity .22s ease;
  white-space: nowrap;
}
.sv-header-cta:hover { transform: translateY(-2px); opacity: .7; }
.sv-mobile-toggle {
  display: none; border: 1px solid currentColor; background: transparent;
  border-radius: 5px; padding: 7px 10px; color: inherit; cursor: pointer;
}

/* Main area is intentionally unstyled so the owner controls all page colors. */
.sv-main { min-height: 1px; }

/* Footer has the same clear glass treatment and inherits the site's own colors. */
.sv-footer {
  position: relative;
  margin-top: 0;
  padding: 46px 0 20px;
  background: transparent;
  -webkit-backdrop-filter: blur(var(--sv-glass-blur));
  backdrop-filter: blur(var(--sv-glass-blur));
  border: 0;
  box-shadow: none;
}
.sv-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 30px; }
.sv-footer h3, .sv-footer h4 { margin: 0 0 12px; color: inherit; font-weight: 900; }
.sv-footer p, .sv-footer li { font-size: .91rem; color: inherit; }
.sv-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.sv-footer a { color: inherit; transition: opacity .2s ease; }
.sv-footer a:hover { opacity: .65; }
.sv-footer-brand { display: inline-flex; align-items: center; max-width: 190px; }
.sv-footer-brand img { display: block; width: 150px; height: auto; max-width: 100%; object-fit: contain; }
.sv-socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.sv-social-link {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: transparent; border: 1px solid currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
.sv-social-link:hover { transform: translateY(-4px) scale(1.04); opacity: .7; }
.sv-social-link img { width: 22px; height: 22px; object-fit: contain; }
.sv-payments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sv-payment {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px;
  border: 1px solid currentColor; border-radius: 5px; background: transparent;
  font-size: .75rem; font-weight: 850; color: inherit;
}
.sv-payment img { width: 26px; height: 26px; object-fit: contain; display:block; }
.sv-payment-bank-icon { width: 22px; height: 22px; display: inline-block; }
.sv-footer-bottom {
  display: flex; justify-content: space-between; gap: 15px; align-items: center;
  border-top: 1px solid currentColor; margin-top: 30px; padding-top: 15px;
  color: inherit; font-size: .81rem;
}

/* Native WordPress blog templates */
.sv-blog-index { padding: 55px 0; }
.sv-blog-heading { margin: 0 0 28px; font-size: clamp(2rem,5vw,3.5rem); line-height: 1.1; font-weight: 950; letter-spacing: -.05em; }
.sv-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.sv-blog-card {
  overflow: hidden; border: 1px solid currentColor; border-radius: 10px;
  background: transparent; transition: transform .25s ease;
}
.sv-blog-card:hover { transform: translateY(-5px); }
.sv-blog-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sv-blog-card-body { padding: 17px; }
.sv-blog-card h2 { margin: 5px 0 8px; font-size: 1.2rem; line-height: 1.25; font-weight: 900; }
.sv-blog-card p, .sv-blog-meta, .sv-blog-read { color: inherit; }
.sv-blog-card p { font-size: .9rem; }
.sv-blog-meta { font-size: .75rem; font-weight: 750; opacity: .75; }
.sv-blog-read { font-size: .85rem; font-weight: 900; }
.sv-single-content { max-width: 900px; margin: 0 auto; padding: 55px 22px; }
.sv-single-content h1 { font-size: clamp(2rem,5vw,3.5rem); line-height: 1.1; letter-spacing: -.04em; }
.sv-single-content img { border-radius: 10px; }
.sv-single-content a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .sv-header-inner { gap: 13px; }
  .sv-header-socials { gap: 6px; }
  .sv-header-social-link { width: 20px; }
  .sv-header-social-link img { width: 17px; height: 17px; }
  .sv-footer-grid { grid-template-columns: repeat(2,1fr); }
  .sv-nav ul { gap: 12px; }
  .sv-nav a { font-size: .85rem; }
}
@media (max-width: 760px) {
  body.admin-bar .sv-header { top: 46px; }
  .sv-header-inner { min-height: 78px; gap: 10px; }
  .sv-brand img { width: 112px; max-height: 72px; }
  .sv-mobile-toggle { display: inline-flex; }
  .sv-nav {
    display: none; position: absolute; top: 100%; left: 12px; right: 12px;
    margin: 0; padding: 14px 17px; background: transparent; border: 0;
    border-radius: 12px; box-shadow: none;
  }
  .sv-nav.is-open { display: block; }
  .sv-nav ul { align-items: stretch; flex-direction: column; gap: 2px; }
  .sv-nav li { width: 100%; }
  .sv-nav a { display: block; padding: 9px 3px; font-size: .95rem; }
  .sv-nav .sub-menu {
    position: static; display: none; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 1px solid currentColor;
    border-radius: 0; margin: 0 0 5px 10px; padding: 0 0 0 9px; background: transparent;
  }
  .sv-nav li.submenu-open > .sub-menu { display: grid; }
  .sv-header-socials { margin-left: auto; gap: 7px; }
  .sv-header-social-link { width: 20px; }
  .sv-header-social-link img { width: 17px; height: 17px; }
  .sv-header-cta { display: none; }
  .sv-footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .sv-footer-bottom { align-items: flex-start; flex-direction: column; }
  .sv-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .sv-container { width: calc(100% - 28px); }
  .sv-header-inner { flex-wrap: wrap; }
  .sv-brand img { width: 106px; max-height: 70px; }
  .sv-header-socials { order: 4; width: 100%; justify-content: center; padding-bottom: 9px; }
  .sv-blog-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* Premium motion layer: cards and interactive feedback. Page content stays sharp and visible. */
.sv-blog-card { transform: translateY(0); transition: transform .42s cubic-bezier(.2,.8,.2,1), box-shadow .42s ease, border-color .42s ease; }
.sv-blog-card:hover { transform: translateY(-9px) scale(1.012); box-shadow: 0 18px 45px rgba(0,0,0,.12); }
.sv-blog-card img { transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.sv-blog-card:hover img { transform: scale(1.045); filter: saturate(1.12); }
.sv-header-social-link, .sv-social-link, .sv-payment { transition: transform .28s ease, opacity .28s ease; }
.sv-header-social-link:hover, .sv-social-link:hover, .sv-payment:hover { transform: translateY(-4px) scale(1.08); opacity: .86; }
.sv-header-cta { transition: transform .28s ease, opacity .28s ease; }
.sv-header-cta:hover { transform: translateY(-2px); opacity: .8; }
