:root{
  --lavender-light:#fbeeff;
  --pink-light:#fdebf3;
  --gold:#d4a853;
  --text-main:#4a3550;
  --text-soft:#715573;
  --card-bg:#ffffffcc;

  --header-bg: rgba(234,201,255,0.95);
  --hero-bg:#eac9ff;

  --shadow: 0 4px 12px rgba(0,0,0,0.06);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:"Poppins", Arial, sans-serif;
  background: linear-gradient(180deg, var(--lavender-light), var(--pink-light));
  color: var(--text-main);
}

a{color:inherit;text-decoration:none}

/* =========================
   Layout wrapper
   ========================= */
.wrapper{
  max-width:1100px;
  margin:40px auto 60px;
  padding:0 20px;
}

/* =========================
   Sticky header
   ========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--header-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom:2px solid var(--gold);
}

.site-header-inner{
  max-width:1100px;
  margin:0 auto;
  padding:10px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* =========================
   Brand (logo + text)
   ========================= */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--text-main);
  flex:0 0 auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-name{
  font-weight:800;
  font-size:1.1rem;
  letter-spacing:.2px;
}

.brand-sub{
  font-weight:600;
  font-size:.95rem;
  color:var(--gold);
  letter-spacing:.3px;
}

/* =========================
   Logo box (improved for low-res logo)
   ========================= */
.site-logo-box{
  width:78px;
  height:78px;
  border-radius:18px;
  overflow:hidden;

  background:
    radial-gradient(circle at top,
      rgba(255,255,255,0.55),
      rgba(234,201,255,0.85)
    );

  border:1.5px solid rgba(212,168,83,0.75);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.35),
    0 8px 20px rgba(0,0,0,0.18),
    0 0 0 6px rgba(212,168,83,0.18);

  display:flex;
  align-items:center;
  justify-content:center;

  transition: transform .25s ease, box-shadow .25s ease;
}

.site-logo-box img{
  width:100%;
  height:100%;
  object-fit:contain;
  transform: scale(0.92);
  filter:
    drop-shadow(0 1px 2px rgba(0,0,0,0.15))
    contrast(1.05)
    saturate(1.05);
  display:block;
}

.brand:hover .site-logo-box{
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.45),
    0 12px 26px rgba(0,0,0,0.22),
    0 0 0 7px rgba(212,168,83,0.25);
}

/* =========================
   Navigation
   ========================= */
.main-nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav-link{
  font-size:.9rem;
  font-weight:500;
  padding:6px 10px;
  border-radius:999px;
  transition: background .2s ease, color .2s ease, transform .12s ease;
}

.nav-link:hover{
  background:rgba(255,255,255,.9);
  color:var(--gold);
  transform:translateY(-1px);
}

.nav-link.active{
  background:linear-gradient(135deg,#e7b8ff,#f8cde5);
  box-shadow:0 3px 8px rgba(0,0,0,.08);
}

.nav-link.nav-order{
  background:linear-gradient(135deg,#e7b8ff,#f8cde5);
  box-shadow:0 3px 8px rgba(0,0,0,.12);
}

/* =========================
   Mobile header
   ========================= */
@media (max-width:700px){
  .site-header-inner{
    flex-wrap:wrap;
    gap:10px;
  }
  .main-nav{
    width:100%;
    justify-content:flex-start;
  }
  .site-logo-box{
    width:68px;
    height:68px;
    border-radius:16px;
  }
  .brand-name{font-size:1rem}
  .brand-sub{font-size:.85rem}
}

@media (max-width:420px){
  .brand-text{display:none}
}

/* =========================
   Page hero
   ========================= */
.page-hero{
  background:var(--hero-bg);
  padding:45px 20px 35px;
  text-align:center;
  border-bottom:4px solid var(--gold);
}

.page-hero h1{
  margin:0;
  font-size:2.6rem;
}

.page-hero p{
  margin-top:10px;
  color:var(--text-soft);
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  line-height:1.6;
}

/* =========================
   Cards & sections
   ========================= */
.card{
  background:var(--card-bg);
  border-radius:18px;
  border:1px solid rgba(212,168,83,.6);
  padding:22px;
  box-shadow:var(--shadow);
}

.section-title{
  margin:40px 0 10px;
  font-size:1.7rem;
  border-left:5px solid var(--gold);
  padding-left:12px;
}

.section-sub{
  margin:0 0 20px;
  font-size:.96rem;
  color:var(--text-soft);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px;
}

.card-header{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:baseline;
}
.card-title{font-size:1.02rem;font-weight:700;margin:0}
.card-price{font-size:.98rem;color:var(--gold);font-weight:700}
.card-desc{margin:8px 0 6px;color:var(--text-soft);font-size:.92rem;line-height:1.5}
.card-meta{margin:0;color:#8a6d8d;font-size:.82rem}

.tag{
  display:inline-block;
  margin-top:8px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(212,168,83,0.6);
  font-size:.78rem;
  color:var(--gold);
}

/* =========================
   Custom Cakes hero layout
   ========================= */
.hero{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  align-items:center;
  margin-bottom:30px;
}
.hero-text{flex:1 1 320px}
.hero-text h2{margin:0 0 10px;font-size:2rem}
.hero-text p{margin:0;color:var(--text-soft);line-height:1.7}
.hero-image{flex:1 1 320px;text-align:center}
.hero-image img{
  max-width:100%;
  border-radius:20px;
  border:3px solid var(--gold);
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
}
@media (max-width:768px){.hero{flex-direction:column}}

/* =========================
   Contact layout
   ========================= */
.layout{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:30px;
  align-items:flex-start;
}
@media (max-width:900px){
  .layout{grid-template-columns:1fr}
}

/* =========================
   Forms
   ========================= */
label{
  font-weight:600;
  display:block;
  margin:12px 0 6px;
}

input, select, textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(212,168,83,.5);
  background:#fff;
  font-family:inherit;
}

textarea{min-height:120px;resize:vertical}

.row-inline{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width:700px){
  .row-inline{grid-template-columns:1fr}
}

.btn-submit{
  margin-top:14px;
  padding:12px 14px;
  border-radius:999px;
  border:0;
  background:linear-gradient(135deg,#e7b8ff,#f8cde5);
  font-weight:700;
  cursor:pointer;
  transition:filter .2s ease, transform .12s ease;
}
.btn-submit:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
}

/* =========================
   Gallery
   ========================= */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

.gallery-item{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(212,168,83,.6);
  box-shadow:var(--shadow);
  background:var(--card-bg);
}

.gallery-item img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.gallery-caption{
  padding:12px 14px;
  color:var(--text-soft);
  line-height:1.5;
  font-size:.92rem;
}

/* =========================
   Footer
   ========================= */
footer{
  background:var(--hero-bg);
  padding:25px 20px;
  border-top:4px solid var(--gold);
  margin-top:60px;
}

.footer-wrapper{
  max-width:1100px;
  margin:auto;
  text-align:center;
}

.footer-brand{
  font-size:1rem;
  font-weight:700;
  margin:0 0 8px;
}

.footer-links a{
  margin:0 10px;
  font-weight:500;
}

.footer-links a:hover{
  color:var(--gold);
}

.footer-note{
  font-size:.85rem;
  color:var(--text-soft);
  margin-top:8px;
  line-height:1.5;
}

/* =========================
   Footer social icons (small + elegant)
   ========================= */
.social-block{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:22px;
  flex-wrap:wrap;
}

.social-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  color:var(--text-main);
}

.social-icon{
  width:18px;
  height:18px;
  fill:var(--gold);
  opacity:.85;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.12));
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.social-text{
  font-size:.8rem;
  font-weight:600;
  color:var(--text-soft);
}

.social-btn:hover .social-icon{
  transform: translateY(-2px);
  opacity:.95;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.14));
}

.social-btn:hover .social-text{
  color:var(--gold);
}

/* =========================
   Floating social icons (classy)
   ========================= */
.floating-social{
  position:fixed;
  right:16px;
  bottom:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:2000;
}

.float-btn{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,0.82);
  border:1px solid rgba(212,168,83,0.55);

  box-shadow:
    0 10px 22px rgba(0,0,0,0.14),
    0 0 0 5px rgba(212,168,83,0.12);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.float-btn svg{
  width:18px;
  height:18px;
  fill:var(--gold);
  opacity:.95;
}

.float-btn:hover{
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(0,0,0,0.16),
    0 0 0 6px rgba(212,168,83,0.18);
}

@media (max-width:520px){
  .floating-social{
    right:12px;
    bottom:12px;
  }
  .float-btn{
    width:42px;
    height:42px;
  }
}

/* =========================
   Helpers
   ========================= */
.soft{color:var(--text-soft);line-height:1.7}
.gold-accent{color:var(--gold);font-weight:600}
.contact-list{margin:10px 0 0;padding-left:18px;color:var(--text-soft);line-height:1.7}

.platforms-note{
  margin-top:14px;
  padding:10px 12px;
  border-radius:12px;
  background:#fdf4ff;
  border:1px solid rgba(212,168,83,0.7);
  font-size:.9rem;
  color:var(--text-soft);
}
.platforms-note strong{color:var(--text-main)}

/* =========================
   Animations
   ========================= */
@keyframes softFadeUp{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}

.fade-in{
  opacity:0;
  animation:softFadeUp .9s ease-out both;
}

.delay-1{animation-delay:.15s}
.delay-2{animation-delay:.3s}

@media (prefers-reduced-motion:reduce){
  .fade-in{animation:none;opacity:1}
  .float-btn, .site-logo-box, .nav-link, .btn-submit{transition:none}
}
