/*
Theme Name: Belle Fairytale
Theme URI: https://bellefairytale.com
Author: Belle Fairytale
Description: Elegant magical event and entertainment theme for photobooth, 360 booth, video guest book, celebrations and private events.
Version: 6.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: belle-fairytale
License: GPL-2.0-or-later
*/

:root{
  --bf-black:#090507;
  --bf-black-2:#13080f;
  --bf-wine:#5a102f;
  --bf-rose:#d56b97;
  --bf-pink:#f3a5c2;
  --bf-blush:#fff1f6;
  --bf-gold:#d5aa4a;
  --bf-gold-2:#f5d985;
  --bf-cream:#fff8ea;
  --bf-white:#fffdfd;
  --bf-muted:#cdbfc5;
  --bf-shadow:0 24px 70px rgba(0,0,0,.35);
  --bf-radius:24px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--bf-cream);
  background:
    radial-gradient(circle at 15% 10%, rgba(213,107,151,.13), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(213,170,74,.10), transparent 24%),
    linear-gradient(180deg,#060305 0%,#0c070a 40%,#12080f 100%);
  font-family:Georgia, 'Times New Roman', serif;
  line-height:1.65;
}
a{color:var(--bf-gold-2);text-decoration:none}
a:hover{color:#fff}
img{max-width:100%;height:auto;display:block}
.container{width:min(1180px,92vw);margin:auto}
.screen-reader-text{position:absolute;left:-9999px}

.sparkle-bg{
  background-image:
  radial-gradient(circle, rgba(255,222,141,.72) 0 1px, transparent 1.6px),
  radial-gradient(circle, rgba(243,165,194,.5) 0 1px, transparent 1.8px);
  background-size:95px 95px, 137px 137px;
  background-position:0 0,30px 35px;
}

.site-header{
  position:sticky;top:0;z-index:999;
  background:rgba(7,3,6,.90);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(213,170,74,.35);
  box-shadow:0 12px 35px rgba(0,0,0,.26);
}
.nav-wrap{min-height:82px;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;gap:12px;min-width:235px}
.brand-mark{width:62px;height:62px;border-radius:50%;object-fit:cover;border:1px solid var(--bf-gold);box-shadow:0 0 22px rgba(213,170,74,.18)}
.brand-text{font-family:'Brush Script MT','Segoe Script',cursive;font-size:31px;color:var(--bf-pink);line-height:.9}
.brand-text small{display:block;font-family:Georgia,serif;font-size:10px;letter-spacing:.26em;color:var(--bf-gold-2);text-transform:uppercase;margin-top:8px}
.main-nav{margin-left:auto}
.main-nav ul{list-style:none;display:flex;align-items:center;gap:22px;padding:0;margin:0}
.main-nav a{font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:#fff7ec}
.main-nav a:hover{color:var(--bf-gold-2)}
.header-actions{display:flex;gap:10px}
.btn,.wp-block-button__link,button,input[type=submit]{
  border:0;border-radius:999px;padding:13px 21px;cursor:pointer;
  font-family:Georgia,serif;letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700;
  transition:.25s ease;
}
.btn-gold,input[type=submit]{
  color:#1b0b10;
  background:linear-gradient(120deg,#a56c19,#f7de92,#bd7d1e);
  box-shadow:0 10px 26px rgba(213,170,74,.18);
}
.btn-gold:hover,input[type=submit]:hover{transform:translateY(-2px);filter:brightness(1.08)}
.btn-outline{border:1px solid rgba(244,215,133,.75);color:var(--bf-gold-2);background:rgba(0,0,0,.15)}
.menu-toggle{display:none;background:transparent;color:var(--bf-gold-2);border:1px solid rgba(213,170,74,.35);padding:10px 14px}

.hero{
  min-height:72vh;
  position:relative;display:flex;align-items:flex-end;
  background-image:linear-gradient(90deg,rgba(0,0,0,.02),rgba(0,0,0,.01)),url('assets/images/hero-magical-banner.jpeg');
  background-size:cover;background-position:center;
  border-bottom:1px solid rgba(213,170,74,.35);
}
.hero::after{
  content:"";position:absolute;inset:auto 0 0;height:34%;
  background:linear-gradient(transparent,rgba(7,3,6,.96));
}
.hero-overlay{
  position:relative;z-index:2;margin:0 auto 24px;width:min(1180px,92vw);
  display:flex;justify-content:flex-end;
}
.hero-cta{
  max-width:510px;padding:26px;border-radius:24px;
  background:rgba(11,5,9,.72);backdrop-filter:blur(10px);
  border:1px solid rgba(213,170,74,.38);box-shadow:var(--bf-shadow)
}
.eyebrow{color:var(--bf-gold-2);font-size:12px;letter-spacing:.22em;text-transform:uppercase}
.hero-cta h1,.page-hero h1{font-weight:400;line-height:1.05;margin:.25em 0;font-size:clamp(40px,6vw,78px);color:#fff}
.script{font-family:'Brush Script MT','Segoe Script',cursive;color:var(--bf-pink)}
.hero-cta p{color:#f3dde7;font-size:17px}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}

.section{padding:86px 0;position:relative}
.section-light{
  color:var(--bf-cream);
  background:
    radial-gradient(circle at 15% 15%, rgba(213,107,151,.14), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(213,170,74,.10), transparent 26%),
    linear-gradient(180deg,#170a12 0%,#0d070a 100%);
  border-top:1px solid rgba(213,170,74,.18);
  border-bottom:1px solid rgba(213,170,74,.18);
}
.section-title{text-align:center;margin:0 auto 44px;max-width:760px}
.section-title .eyebrow{display:block;margin-bottom:8px}
.section-title h2{font-size:clamp(36px,5vw,60px);font-weight:400;margin:0;color:var(--bf-gold-2)}
.section-light .section-title h2{color:var(--bf-gold-2)}
.section-title p{color:var(--bf-muted)}
.section-light .section-title p{color:#ead9df}

.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{
  position:relative;overflow:hidden;border-radius:var(--bf-radius);
  border:1px solid rgba(213,170,74,.32);
  background:linear-gradient(160deg,rgba(44,15,29,.9),rgba(8,4,7,.96));
  box-shadow:0 18px 52px rgba(0,0,0,.22);
}
.card-body{padding:25px}
.card h3{font-size:25px;font-weight:400;margin:0 0 10px;color:#ffe7a4}
.card p{color:#dbcbd1;margin:0 0 16px}
.card-image{aspect-ratio:16/10;object-fit:cover;width:100%;filter:saturate(1.05)}
.icon-orb{
  width:62px;height:62px;border-radius:50%;display:grid;place-items:center;
  border:1px solid var(--bf-gold);font-size:25px;color:var(--bf-gold-2);
  background:radial-gradient(circle,rgba(213,107,151,.3),rgba(0,0,0,.2));
  margin-bottom:18px;
}

.luxe-band{
  padding:36px 0;
  background:linear-gradient(90deg,#260a18,#6a1235 45%,#270a18);
  border-top:1px solid var(--bf-gold);border-bottom:1px solid var(--bf-gold);
}
.luxe-band .items{display:flex;justify-content:center;gap:38px;flex-wrap:wrap;text-align:center}
.luxe-band span{color:var(--bf-gold-2);letter-spacing:.12em;text-transform:uppercase;font-size:12px}

.visual-split{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.visual-frame{border-radius:30px;overflow:hidden;border:1px solid rgba(213,170,74,.5);box-shadow:var(--bf-shadow)}
.visual-frame img{width:100%}
.copy h2{font-weight:400;font-size:clamp(38px,5vw,58px);color:var(--bf-gold-2);margin:.2em 0}
.copy p{color:#dbcbd1}
.gold-list{list-style:none;padding:0}
.gold-list li{padding:11px 0;border-bottom:1px solid rgba(213,170,74,.16)}
.gold-list li::before{content:"✦";color:var(--bf-gold);margin-right:10px}

.page-hero{
  min-height:430px;display:flex;align-items:center;text-align:center;position:relative;
  background:
    linear-gradient(rgba(4,1,3,.52),rgba(4,1,3,.76)),
    url('assets/images/branding-collage.jpeg') center/cover;
  border-bottom:1px solid rgba(213,170,74,.35);
}
.page-hero .container{position:relative;z-index:1}
.page-hero p{max-width:700px;margin:15px auto;color:#f5dce7}

.content-wrap{padding:70px 0}
.prose{max-width:900px;margin:auto}
.prose h2,.prose h3{color:var(--bf-gold-2);font-weight:400}
.prose p,.prose li{color:#e6d4dc}

.gallery-grid{columns:3 280px;column-gap:18px}
.gallery-grid img{margin:0 0 18px;border-radius:20px;border:1px solid rgba(213,170,74,.28);break-inside:avoid}

.form-card{
  max-width:850px;margin:auto;padding:32px;border-radius:26px;
  background:linear-gradient(160deg,rgba(55,15,35,.85),rgba(10,5,8,.96));
  border:1px solid rgba(213,170,74,.35);
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field label{display:block;color:var(--bf-gold-2);font-size:13px;margin-bottom:7px}
.field input,.field select,.field textarea{
  width:100%;padding:13px 14px;border-radius:12px;border:1px solid rgba(213,170,74,.27);
  color:#fff;background:#160b11;outline:none;
}
.field textarea{min-height:140px;resize:vertical}
.field-full{grid-column:1/-1}
.notice{padding:13px 16px;border-radius:12px;margin:0 0 18px;background:rgba(213,170,74,.10);border:1px solid rgba(213,170,74,.25)}
.notice.success{border-color:rgba(126,219,157,.45);background:rgba(61,148,89,.13)}
.notice.error{border-color:rgba(242,113,135,.45);background:rgba(164,46,67,.15)}

.site-footer{
  padding:62px 0 25px;background:#050203;border-top:1px solid rgba(213,170,74,.28)
}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:35px}
.footer-logo{width:170px;border-radius:50%;border:1px solid rgba(213,170,74,.4)}
.site-footer h4{color:var(--bf-gold-2);font-weight:400}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:8px 0}
.site-footer p,.site-footer a{color:#cdbfc5}
.copyright{border-top:1px solid rgba(213,170,74,.12);margin-top:38px;padding-top:20px;color:#937e86;font-size:12px;text-align:center}

@media(max-width:980px){
  .main-nav{display:none;position:absolute;top:82px;left:0;right:0;background:#0b0508;padding:18px 4vw;border-bottom:1px solid rgba(213,170,74,.25)}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;align-items:flex-start}
  .menu-toggle{display:block;margin-left:auto}
  .header-actions{display:none}
  .grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}
  .visual-split{grid-template-columns:1fr}
}
@media(max-width:680px){
  .brand-text{font-size:26px}
  .brand-mark{width:50px;height:50px}
  .nav-wrap{min-height:70px}
  .main-nav{top:70px}
  .hero{min-height:650px;background-position:center}
  .hero-overlay{justify-content:center;margin-bottom:20px}
  .hero-cta{text-align:center}
  .grid-4,.grid-3,.grid-2,.form-grid,.footer-grid{grid-template-columns:1fr}
  .field-full{grid-column:auto}
  .section{padding:62px 0}
}


/* =========================================================
   Mobile Experience — Belle Fairytale v3
   ========================================================= */

.mobile-bottom-nav{
  display:none;
}

/* Better touch and responsive behavior */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

button, .btn, input, select, textarea{
  -webkit-tap-highlight-color:transparent;
}

@media(max-width:980px){
  .container{width:min(94vw,1180px)}
  .nav-wrap{gap:14px}
  .brand{min-width:0}
  .hero{
    min-height:680px;
    background-position:center center;
  }
  .hero-cta{
    max-width:580px;
  }
  .visual-split{
    gap:30px;
  }
  .section-title{
    margin-bottom:32px;
  }
}

@media(max-width:768px){
  body{
    padding-bottom:78px;
  }

  .site-header{
    position:sticky;
    top:0;
  }

  .nav-wrap{
    min-height:68px;
  }

  .brand-mark{
    width:46px;
    height:46px;
  }

  .brand-text{
    font-size:24px;
  }

  .brand-text small{
    font-size:8px;
    letter-spacing:.18em;
  }

  .hero{
    min-height:620px;
    align-items:flex-end;
    background-position:center center;
  }

  .hero::after{
    height:54%;
    background:linear-gradient(transparent,rgba(7,3,6,.98));
  }

  .hero-overlay{
    width:92vw;
    margin-bottom:18px;
  }

  .hero-cta{
    width:100%;
    max-width:none;
    padding:22px 18px;
    border-radius:20px;
  }

  .hero-cta h1{
    font-size:clamp(38px,12vw,58px);
  }

  .hero-cta p{
    font-size:15px;
  }

  .cta-row{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }

  .cta-row .btn{
    width:100%;
    text-align:center;
  }

  .page-hero{
    min-height:360px;
    background-position:center;
    padding:42px 0;
  }

  .page-hero h1{
    font-size:clamp(40px,11vw,60px);
  }

  .section{
    padding:54px 0;
  }

  .section-title h2,
  .copy h2{
    font-size:clamp(34px,10vw,48px);
  }

  .grid-4,
  .grid-3,
  .grid-2{
    grid-template-columns:1fr;
  }

  .card{
    border-radius:20px;
  }

  .card-body{
    padding:22px;
  }

  .visual-split{
    grid-template-columns:1fr;
    gap:26px;
  }

  .visual-frame{
    border-radius:22px;
  }

  .luxe-band{
    padding:26px 0;
  }

  .luxe-band .items{
    flex-direction:column;
    gap:10px;
  }

  .form-card{
    padding:22px 16px;
    border-radius:20px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .field-full{
    grid-column:auto;
  }

  .field input,
  .field select,
  .field textarea{
    min-height:48px;
    font-size:16px; /* prevents unwanted zoom on iPhone */
  }

  .site-footer{
    padding-bottom:28px;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  /* Fixed bottom navigation for mobile */
  .mobile-bottom-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:2000;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    min-height:62px;
    padding:6px;
    border:1px solid rgba(213,170,74,.48);
    border-radius:20px;
    background:rgba(8,3,6,.94);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:0 16px 40px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.04);
  }

  .mobile-bottom-nav a{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    padding:4px 2px;
    border-radius:14px;
    color:#f4d785;
    font-size:10px;
    line-height:1.1;
    letter-spacing:.02em;
    text-align:center;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus{
    color:#fff;
    background:linear-gradient(180deg,rgba(213,107,151,.16),rgba(213,170,74,.10));
  }

  .mobile-bottom-nav .nav-icon{
    display:block;
    font-size:21px;
    line-height:1;
    margin-bottom:2px;
  }

  .mobile-bottom-nav .book-mobile{
    color:#14080d;
    background:linear-gradient(135deg,#ad751e,#f6dc8c,#bd7c24);
    box-shadow:0 5px 16px rgba(213,170,74,.24);
  }

  .mobile-bottom-nav .book-mobile .nav-icon{
    font-size:23px;
  }

  .mobile-bottom-nav .book-mobile:hover,
  .mobile-bottom-nav .book-mobile:focus{
    color:#14080d;
    filter:brightness(1.06);
  }
}

@media(max-width:430px){
  .mobile-bottom-nav{
    left:6px;
    right:6px;
    bottom:6px;
    border-radius:18px;
  }

  .mobile-bottom-nav a{
    font-size:9px;
  }

  .mobile-bottom-nav .nav-icon{
    font-size:19px;
  }

  body{
    padding-bottom:74px;
  }

  .brand-text small{
    display:none;
  }

  .hero{
    min-height:590px;
  }
}


/* =========================================================
   High Contrast Readability Update — Belle Fairytale v4
   ========================================================= */

.section-light .copy h2,
.section-light .copy h3,
.section-light .prose h2,
.section-light .prose h3{
  color:#f7dc8a;
}

.section-light .copy p,
.section-light .copy li,
.section-light .prose p,
.section-light .prose li,
.section-light .card p{
  color:#f2e4e9;
}

.section-light .gold-list li{
  color:#fff6ef;
  border-bottom-color:rgba(213,170,74,.20);
}

.section-light .visual-frame{
  background:#090507;
}

.section-light .card{
  color:#fff8ee;
  background:linear-gradient(160deg,rgba(55,15,35,.94),rgba(8,4,7,.98));
}

.section-light .card h3{
  color:#ffe6a0;
}

.section-light .card a{
  color:#f7dc8a;
}

.entry-content,
.wp-site-blocks,
.wp-block-post-content,
.content-wrap,
.prose{
  color:#fff8ee;
}

.entry-content p,
.entry-content li,
.wp-block-post-content p,
.wp-block-post-content li,
.prose p,
.prose li{
  color:#eadce1;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.prose h2,
.prose h3{
  color:#f7dc8a;
}

.wp-block-group.has-background,
.wp-block-column.has-background,
.wp-block-media-text.has-background{
  color:#fff8ee;
}

input,
select,
textarea{
  color:#fff !important;
  background:#160b11 !important;
}

input::placeholder,
textarea::placeholder{
  color:#c7b5bd;
}

.notice{
  color:#fff8ee;
}

@media(max-width:768px){
  .section-title p,
  .copy p,
  .prose p,
  .prose li{
    font-size:16px;
    line-height:1.75;
  }
}


/* Belle Fairytale v5 — Larger Mobile Navigation */
@media(max-width:768px){
  body{padding-bottom:92px}

  .mobile-bottom-nav{
    min-height:76px;
    padding:7px 5px;
  }

  .mobile-bottom-nav a{
    font-size:13px;
    font-weight:700;
    line-height:1.15;
    gap:5px;
    padding:7px 3px;
    letter-spacing:.01em;
  }

  .mobile-bottom-nav .nav-icon{
    font-size:25px;
    margin-bottom:1px;
  }

  .mobile-bottom-nav .book-mobile .nav-icon{
    font-size:27px;
  }
}

@media(max-width:430px){
  body{padding-bottom:88px}

  .mobile-bottom-nav{
    min-height:72px;
  }

  .mobile-bottom-nav a{
    font-size:12px;
    font-weight:700;
  }

  .mobile-bottom-nav .nav-icon{
    font-size:23px;
  }
}

/* Belle Fairytale v6 — force dark enchanted background site-wide */
html, body, body.custom-background, #page, .site, .site-content, main, .site-main,
.content-area, .content-wrap, .entry-content, .wp-site-blocks, .wp-block-post-content,
.wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-media-text,
.wp-block-query, .wp-block-post, .section, .section-light {
  background-color:#090507 !important;
  color:#fff7ee !important;
}
body, body.custom-background, #page, .site, .site-content, main, .content-area,
.content-wrap, .section, .section-light {
  background-image:radial-gradient(circle at 12% 12%,rgba(213,107,151,.13),transparent 27%),radial-gradient(circle at 88% 18%,rgba(213,170,74,.09),transparent 25%),linear-gradient(180deg,#070305 0%,#12080f 48%,#080406 100%) !important;
  background-attachment:fixed !important;
}
.wp-block-group.has-background, .wp-block-column.has-background,
.wp-block-columns.has-background, .wp-block-media-text.has-background,
.wp-block-post-content .has-background, .entry-content .has-background {
  background:#12080f !important; color:#fff7ee !important;
}
main p, main li, .entry-content p, .entry-content li,
.wp-block-post-content p, .wp-block-post-content li {color:#f1e2e7 !important;}
main h1, main h2, main h3, main h4, main h5, main h6,
.entry-content h1, .entry-content h2, .entry-content h3,
.wp-block-post-content h1, .wp-block-post-content h2, .wp-block-post-content h3 {color:#f7dc8a !important;}
.card,.form-card {background:linear-gradient(155deg,#35101f 0%,#150a10 55%,#080406 100%) !important;border-color:rgba(213,170,74,.48) !important;}
.site-header,.site-footer,.main-nav,.mobile-bottom-nav {background-color:#070305 !important;}
input,select,textarea {background:#170b12 !important;color:#fff !important;border-color:rgba(213,170,74,.42) !important;}
@media(max-width:768px){
 html,body,body.custom-background,#page,.site,.site-content,main,.content-area,.content-wrap,.section,.section-light,.wp-site-blocks,.wp-block-post-content{background-color:#090507 !important;}
 .mobile-bottom-nav a{color:#ffe49a !important;font-size:13px !important;font-weight:700 !important;}
 .mobile-bottom-nav .book-mobile{color:#16090d !important;}
}
