/* ======================================================
   Lunar Vibe Designs - Vibe Revival (v7)
   Brighter cosmic background + nebula + twinkle + meteors
   Strong header + gradient brand + better section spacing
   ====================================================== */

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Segoe UI",system-ui,sans-serif;
  color:#f4f4ff;
  background: radial-gradient(circle at 18% 22%, #2a1560 0%, #0a0620 55%, #04010e 100%);
  overflow-x:hidden;
}

/* ===== Starfield (twinkle, no drift) ===== */
body::before{
  content:"";
  position:fixed; inset:0;
  background-image:
    radial-gradient(1px 1px at 8% 22%, rgba(255,255,255,.95), transparent),
    radial-gradient(1px 1px at 18% 78%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 28% 40%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 42% 18%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 55% 58%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 66% 28%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 78% 74%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 88% 16%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 92% 52%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 35% 86%, rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 24% 28%, rgba(255,255,255,.9), transparent),
    radial-gradient(2px 2px at 74% 44%, rgba(255,255,255,.9), transparent),
    radial-gradient(2px 2px at 52% 84%, rgba(255,255,255,.85), transparent);
  background-size: 520px 520px;
  animation:twinkle1 4.5s ease-in-out infinite alternate;
  opacity:.75;
  z-index:0;
}
@keyframes twinkle1{0%{opacity:.35}50%{opacity:.95}100%{opacity:.55}}

/* ===== Nebula layer (soft color clouds) ===== */
.nebula-layer{
  position:fixed; inset:0;
  background:
    radial-gradient(circle at 22% 35%, rgba(170,90,255,.35), transparent 55%),
    radial-gradient(circle at 70% 55%, rgba(0,220,255,.22), transparent 58%),
    radial-gradient(circle at 55% 85%, rgba(255,80,200,.18), transparent 62%);
  filter: blur(0px);
  animation:nebulaPulse 18s ease-in-out infinite alternate;
  pointer-events:none;
  z-index:0;
}
@keyframes nebulaPulse{0%{opacity:.55}100%{opacity:1}}

/* ===== Shooting star ===== */
.shooting-star{
  position:fixed;
  width:220px; height:3px;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,1));
  border-radius:999px;
  box-shadow:0 0 18px rgba(255,255,255,.9);
  transform:rotate(25deg);
  animation:shoot 2s ease-out forwards;
  pointer-events:none;
  z-index:5;
}
@keyframes shoot{
  0%{transform:translateX(-10vw) rotate(25deg);opacity:1}
  100%{transform:translateX(130vw) translateY(42vh) rotate(25deg);opacity:0}
}

/* ===== Layout ===== */
.container{
  max-width:1400px;
  margin:0 auto;
  padding:0 40px;
  position:relative;
  z-index:2;
}
.section{padding:120px 0}
.section--hero{padding:120px 0 90px}
.section--featured{padding:90px 0 120px}
.section--about{padding:120px 0}
.section--cta{padding:110px 0 140px}

.section + .section{
  border-top:1px solid rgba(255,255,255,.10);
}

/* ===== Header ===== */
.site-header{
  position:sticky; top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10,6,32,.78), rgba(10,6,32,.35));
  border-bottom:1px solid rgba(255,255,255,.10);
}
.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0 10px;
}
.brand-link{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
}
.brand__logo{
  height:120px;
  width:auto;
  display:block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.45));
  transition: transform .25s ease, filter .25s ease;
}
.brand-link:hover .brand__logo{
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 24px rgba(95,229,255,.25));
}
.brand-name{
  font-size:34px;
  font-weight:800;
  letter-spacing:.5px;
  background: linear-gradient(135deg, #caa2ff 0%, #6fe7ff 55%, #ffd36f 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow: 0 0 24px rgba(202,162,255,.14);
}
.brand-tagline{
  display:block;
  font-size:15px;
  font-weight:600;
  color:#f6e7a6;   /* faint yellow */
  margin-top:4px;
}

/* theme toggle button */
.theme-toggle{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  border-radius:999px;
  padding:10px 12px;
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.theme-toggle:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(95,229,255,.18);
}

/* nav pills */
.nav{
  display:flex;
  justify-content:center;
  gap:18px;
  padding:10px 0 18px;
}
.nav a{
  color: rgba(240,236,255,.88);
  text-decoration:none;
  font-weight:700;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.nav a:hover{
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(202,162,255,.30), rgba(95,229,255,.18));
  border-color: rgba(95,229,255,.28);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.nav a.is-active{
  background: linear-gradient(135deg, rgba(202,162,255,.38), rgba(95,229,255,.24));
  border-color: rgba(202,162,255,.35);
}

/* ===== Hero ===== */
.hero{text-align:center}
.hero h1{
  font-size: clamp(40px, 4.2vw, 68px);
  margin: 0 0 18px;
  letter-spacing:.2px;
}
.hero p{
  font-size: clamp(16px, 1.5vw, 22px);
  max-width: 820px;
  margin: 0 auto 28px;
  opacity:.9;
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 26px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.2px;
  color:#0a0720;
  background: linear-gradient(135deg, #caa2ff 0%, #5fe5ff 55%, #ffd36f 120%);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(0,0,0,.32);
  filter: saturate(1.05);
}

/* ===== Featured grid ===== */
.section-title{
  text-align:center;
  font-size: clamp(22px, 2vw, 30px);
  margin: 0 0 46px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:28px;
}
.card{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:26px;
  padding:26px;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform: translateY(-8px);
  border-color: rgba(95,229,255,.25);
  box-shadow: 0 26px 56px rgba(0,0,0,.34);
}
.card h3{margin:0 0 10px}
.card p{margin:0; opacity:.85}

/* ===== Card image container ===== */
.card-image{
    width:100%;
    height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:18px;
    margin-bottom:18px;
}
.card-image img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    transition: transform .25s ease;
}
.card:hover .card-image img{
    transform: scale(1.05);
}

/* ===== About teaser ===== */
.about-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:64px;
  align-items:center;
}
.about-image{
  height:420px;
  border-radius:30px;
  background: linear-gradient(135deg, rgba(202,162,255,.16), rgba(95,229,255,.10));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  position:relative;
  overflow:hidden;
}
.about-image::after{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 40% 30%, rgba(255,255,255,.15), transparent 55%);
  animation: glowSweep 10s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes glowSweep{
  0%{transform: translate(-6%, -4%)}
  100%{transform: translate(6%, 4%)}
}

/* NEW: ensure Brooklynn image displays correctly */
.about-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  position:relative;
  z-index:2;
}

.about-copy h2{margin:0 0 14px; font-size: clamp(24px, 2.3vw, 36px)}
.about-copy p{margin:0 0 14px; opacity:.9; line-height:1.6}

/* ===== Footer ===== */
.site-footer{
  border-top:1px solid rgba(255,255,255,.10);
  padding:28px 0;
  background: rgba(10,6,32,.35);
}
.site-footer p{margin:0; opacity:.75; text-align:center}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .container{padding:0 22px}
  .brand-name{font-size:26px}
  .brand__logo{height:96px}
  .about-grid{grid-template-columns:1fr}
  .section{padding:92px 0}
  .section--hero{padding:100px 0 70px}
}

/* Sunset / Orange Horizon Mode */
body.light-mode {
  background:
    radial-gradient(circle at 15% 85%, #ff9a5a 0%, rgba(255,154,90,.55) 28%, transparent 50%),
    radial-gradient(circle at 80% 15%, #ff9a5a 0%, rgba(255,154,90,.45) 25%, transparent 55%),
    radial-gradient(circle at 50% 50%, #4a3f88 0%, #2a235e 55%, #14112c 100%);
  color: #fdf6ff;
}


body.light-mode::before {
  opacity: 0.25; /* stars barely visible at dusk */
}

body.light-mode .nebula-layer {
  opacity: 0.35;
}

body.light-mode .site-header {
  background: linear-gradient(180deg, rgba(58,44,96,.85), rgba(58,44,96,.60));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

body.light-mode .card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

body.light-mode .nav a {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff6ff;
}

/* Brand styling in Sunset Mode */
body.light-mode .brand-name {
  background: linear-gradient(135deg, #ffd27f 0%, #ff8a65 45%, #ff6f91 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(255,140,100,.25);
}

body.light-mode .brand-tagline {
  color: #ffe6b3;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  gap: 20px;
}

/* Social Container */
.nav-social {
  display: flex;
  gap: 14px;
}

/* Make each anchor the circle */
.nav-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

/* Hover */
.nav-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.6);
}

/* Font Awesome icons */
.nav-social i {
  font-size: 18px;
}

/* SVG (Linktree) */
.nav-social svg {
  width: 24px;   /* slightly larger for visual balance */
  height: 24px;
  fill: #ffffff;
}

.nav-social img.social-img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1); /* makes it white */
}