/*
Theme Name: Wedding Elegant
Theme URI: https://example.com/
Author: JBSP
Author URI: https://example.com/
Description: A simplistic but elegant wedding theme with cursive headers, ornamental trim, and a clean layout. Mobile friendly.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wedding-elegant
Tags: custom-logo, custom-menu, featured-images, blog
*/

:root{
  --we-bg:#fbfaf8;
  --we-surface:#ffffff;
  --we-text:#1b1b1b;
  --we-muted:#646464;
  --we-accent:#b8896a; /* warm champagne */
  --we-accent-2:#d7b8a4;
  --we-shadow: 0 18px 50px rgba(0,0,0,.08);
  --we-radius: 18px;
  --we-max: 1120px;
  --we-pad: 18px;
}

html{box-sizing:border-box}
*,*:before,*:after{box-sizing:inherit}

body{
  margin:0;
  background: radial-gradient(1100px 550px at 20% 0%, rgba(184,137,106,.10), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(215,184,164,.12), transparent 55%),
              var(--we-bg);
  color:var(--we-text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.55;
}

a{color:inherit}
a:hover{opacity:.9}
img{max-width:100%;height:auto}

.container{max-width:var(--we-max);margin:0 auto;padding:0 var(--we-pad)}
.we-muted{color:var(--we-muted)}

h1,h2,h3,h4{
  margin:0 0 10px 0;
  font-family:"Playfair Display", ui-serif, Georgia, serif;
  letter-spacing:.2px;
}
p{margin:0 0 12px 0}

/* Header + trim */
.header-trim{
  height:10px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,137,106,.35) 12%, rgba(215,184,164,.55) 50%, rgba(184,137,106,.35) 88%, transparent 100%);
  position:relative;
}
.header-trim:before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 10px 5px, rgba(255,255,255,.75) 0 2px, transparent 3px) 0 0/22px 10px repeat-x;
  opacity:.55;
  pointer-events:none;
}

.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(251,250,248,.80);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}

.brand{
  display:flex; align-items:center; gap:12px; min-width:0;
  text-decoration:none;
}
.brand-logo img, .brand-logo svg{
  width:42px;height:42px;border-radius:999px;border:1px solid rgba(0,0,0,.08)
}
.site-title{
  font-size:22px; line-height:1.1; margin:0;
  font-family:"Great Vibes", cursive;
}
.site-tagline{
  margin:2px 0 0 0; font-size:13px; color:var(--we-muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* Nav */
.primary-nav{display:flex; align-items:center; gap:10px; position:relative}
.primary-nav ul{
  list-style:none; margin:0; padding:0;
  display:flex; gap:8px; align-items:center; flex-wrap:wrap;
}
.primary-nav a{
  display:inline-block;
  text-decoration:none;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:600;
  color:var(--we-text);
}
.primary-nav a:hover{
  border-color:rgba(184,137,106,.35);
  background:rgba(184,137,106,.08);
}

.header-right{display:flex; align-items:center; gap:10px}

/* Social icons */
.social-icons{display:flex; gap:8px; align-items:center}
.social-icons a{
  width:38px;height:38px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.7);
  text-decoration:none;
}
.social-icons a:hover{background:rgba(184,137,106,.10);border-color:rgba(184,137,106,.35)}
.social-icons svg{width:18px;height:18px;opacity:.9}

/* Mobile menu */
.menu-toggle{
  display:none;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  padding:9px 12px;
  background:rgba(255,255,255,.75);
  font-weight:700;
}
.menu-toggle:active{transform:translateY(1px)}

@media (max-width: 860px){
  .primary-nav ul{display:none}
  .menu-toggle{display:inline-flex}
  .primary-nav.is-open ul{
    display:flex;
    position:absolute;
    right:0;
    left:auto;
    top:calc(100% + 10px);
    background:var(--we-surface);
    border:1px solid rgba(0,0,0,.10);
    border-radius:18px;
    padding:10px;
    box-shadow: var(--we-shadow);
    flex-direction:column;
    min-width:220px;
    align-items:stretch;
  }
  .primary-nav.is-open a{width:100%}
}

/* Main */
.site-main{padding:26px 0 44px}
.card{
  background:rgba(255,255,255,.85);
  border:1px solid rgba(0,0,0,.08);
  border-radius:var(--we-radius);
  box-shadow: var(--we-shadow);
}
.content-wrap{padding:20px}
.page-title{font-size:38px}
.we-divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(184,137,106,.35), transparent);
  margin:12px 0 18px 0;
}

/* Footer */
.site-footer{
  border-top:1px solid rgba(0,0,0,.06);
  padding:22px 0;
  color:var(--we-muted);
  background: rgba(251,250,248,.90);
}
.footer-inner{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}
