/* =========================
   RESET + BASE
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Segoe UI", Arial, sans-serif;
}

body{
  background:#ffffff;
  color:#333;
  line-height:1.6;
}

/* GENERAL SECTION */
section{
  max-width:1100px;
  margin:auto;
  padding:60px 20px;
}


h2{
  color:#ff5fa2;
  text-align:center;
  margin-bottom:25px;
}

/* =========================
   NAVBAR
========================= */
.navbar{
  width:100%;
  background:#ffffff;
  border-bottom:1px solid #f2f2f2;
  position:sticky;
  top:0;
  z-index:1000;
}

.nav-container{
  max-width:1200px;
  margin:auto;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.nav-logo a{
  font-size:26px;
  font-weight:900;
  color:#ff5fa2;
  text-decoration:none;
}

/* if you add dark mode button later, this keeps it aligned */
.nav-right{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-links{
  display:flex;
  gap:28px;
}

.nav-links a{
  text-decoration:none;
  color:#333;
  font-weight:600;
  font-size:15px;
  position:relative;
}

.nav-links a:hover{ color:#ff5fa2; }

.nav-links a::after{
  content:"";
  position:absolute;
  width:0%;
  height:2px;
  background:#ff5fa2;
  left:0;
  bottom:-6px;
  transition:width 0.3s;
}
.nav-links a:hover::after{ width:100%; }

/* Dark mode toggle button (visible) */
.theme-toggle{
  width:48px;
  height:48px;
  border-radius:999px;
  border:2px solid #ff5fa2;
  background:rgba(255,95,162,0.10);
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:20px;
  line-height:1;

  box-shadow:0 8px 20px rgba(255,95,162,0.25);
  transition:transform .15s, background .2s, box-shadow .2s;
}
.theme-toggle:hover{
  transform:scale(1.06);
  background:rgba(255,95,162,0.18);
  box-shadow:0 10px 26px rgba(255,95,162,0.35);
}
.theme-toggle:active{ transform:scale(0.98); }

/* =========================
   HERO
========================= */
.hero{
  min-height:100vh;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("../images/gallery/alice_hero.jpg"); /* FIXED PATH */
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:white;

  display:flex;
  align-items:center;
  padding:60px 20px;
}

/* HERO must be full-width (override section max-width) */
.hero{
  max-width: none;
  width: 100%;
  margin: 0;
}


.hero-left{ max-width:520px; }

.hero h1{
  font-size:56px;
  font-weight:bold;
  margin-bottom:10px;
}

.hero p{
  font-size:20px;
  margin-bottom:25px;
}

/* SOCIAL BUTTONS */
.social-buttons{
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:260px;
}

.social{
  padding:14px;
  text-align:center;
  border-radius:10px;
  font-weight:bold;
  text-decoration:none;
  color:white;
  border:2px solid white;
}

.social:hover{ opacity:0.9; }

.ig{ background:#e1306c; }
.tiktok{ background:#000; }
.x{ background:#1d9bf0; }

/* =========================
   BIODATA (TEXT LEFT, IMAGE RIGHT)
========================= */
.bio-container{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:40px;
  flex-wrap:nowrap;
}

.bio-text{
  flex:1;
  min-width:0;
  max-width:650px;
}

.bio-text p{
  margin:10px 0;
  font-size:16px;
}

.bio-image{
  flex:0 0 340px;   /* make space for bigger image */
  display:flex;
  justify-content:flex-end;
}

.bio-image{
  background:transparent;
}
.bio-image img{
  transform: translateY(-75px); /* increase number to move higher */
}


/* BIODATA MOBILE */
@media (max-width:900px){
  .bio-container{
    flex-wrap:wrap;
    justify-content:center;
  }
  .bio-image{
    justify-content:center;
    flex:0 0 auto;
  }
}

/* =========================
   MEMORIES PREVIEW (HOME)
========================= */
.memories .preview{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}

.memories .preview img{
  width:180px;
  height:180px;
  object-fit:cover;
  border-radius:18px;
  transition:transform 0.3s;
}
.memories .preview img:hover{ transform:scale(1.05); }

/* BUTTONS */
.btn{
  display:block;
  width:fit-content;
  margin:30px auto 0;
  padding:14px 32px;
  background:#ff5fa2;
  color:white;
  text-decoration:none;
  border-radius:30px;
  font-weight:bold;
  text-align:center;
}
.btn:hover{ background:#ff2f8a; }

/* =========================
   FAN MESSAGE
========================= */
.fan-message form{
  max-width:500px;
  margin:auto;
}

input, textarea{
  width:100%;
  padding:14px;
  margin-bottom:12px;
  border-radius:12px;
  border:1px solid #ffb6d5;
  font-size:15px;
}

textarea{
  min-height:100px;
  resize:vertical;
}

button{
  width:100%;
  background:#ff5fa2;
  color:white;
  border:none;
  padding:14px;
  border-radius:30px;
  font-size:16px;
  cursor:pointer;
}
button:hover{ background:#ff2f8a; }

.messages{ margin-top:40px; }

.message-box{
  background:#fff0f6;
  padding:16px;
  border-radius:18px;
  margin-bottom:15px;
}

.message-box strong{ color:#ff5fa2; }
.message-box span{ font-size:12px; color:#777; }

/* =========================
   MEMORIES PAGE
========================= */
.page-title{
  max-width:1100px;
  margin:30px auto 10px;
  padding:0 20px;
  font-size:42px;
  color:#222;
}

/* Upload button area */
.top-action{
  max-width:1100px;
  margin:10px auto 25px;
  padding:0 20px;
}

.upload-btn{
  display:inline-block;
  padding:10px 18px;
  background:#ff5fa2;
  color:#fff;
  text-decoration:none;
  border-radius:12px;
  font-weight:600;
}
.upload-btn:hover{ opacity:.9; }

/* CATEGORY CARDS */
.category-section{
  max-width:1100px;
  margin:0 auto 40px;
  padding:0 20px;

  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:18px;
}

.category-card{
  text-decoration:none;
  color:#333;
  background:#fff0f6;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  transition:transform .2s;
}
.category-card:hover{ transform:translateY(-4px); }

.category-card img{
  width:100%;
  height:140px;
  object-fit:cover;
  display:block;
}
.category-card p{
  padding:12px 14px;
  font-weight:700;
  color:#ff5fa2;
}

/* HIGHLIGHTS */
.section-title{
  text-align:center;
  color:#ff5fa2;
  font-size:26px;
  margin:0 auto 18px;
  padding:0 20px;
}

.highlight-section{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;

  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:18px;
}

.highlight-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.highlight-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}
.highlight-note{
  max-width:1100px;
  margin:-6px auto 18px;
  padding:0 20px;
  text-align:center;
  color:#999;
  font-size:14px;
  line-height:1.6;
}

.highlight-email{
  color:#ff5fa2;
  font-weight:700;
  text-decoration:none;
}

.highlight-email:hover{
  text-decoration:underline;
}

body.dark .highlight-note{ color:#bdbdbd; }


/* Optional: if you use highlight-only class */
.highlight-only .highlight-card{ padding:0; }
.highlight-only .highlight-card img{ height:260px; }

/* =========================
   CATEGORY PAGE GRID (THUMBNAILS)
========================= */
.gallery-grid{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;

  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
  gap:18px;
}

.gallery-item{
  background:#fff0f6;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.gallery-item p{
  padding:10px 12px;
  color:#ff5fa2;
  font-weight:600;
  font-size:14px;
  text-align:center;
}

.gallery-img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
  cursor:pointer;
  transition:transform .2s;
}
.gallery-img:hover{ transform:scale(1.04); }

.photo-credit{
  margin-top:-6px;
  padding:0 12px 12px;
  font-size:12px;
  color:#999;
  text-align:center;
}

body.dark .photo-credit{
  color:#bdbdbd;
}

/* =========================
   LIGHTBOX (FULLSCREEN VIEW)
========================= */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  display:none;
  justify-content:center;
  align-items:center;
  padding:20px;
  z-index:9999;
}
.lightbox.show{ display:flex; }

.lightbox-inner{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  max-width:90vw;
}

/* FULL IMAGE */
.lightbox-inner img{
  max-width:70vw;
  max-height:80vh;
  object-fit:contain;
  border-radius:18px;
  background:#000;
}

/* PREV / NEXT ARROWS (small & beside image) */
.lb-prev,
.lb-next{
  width:42px;
  height:42px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,0.6);
  color:#fff;
  font-size:22px;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:background .2s, transform .2s;
}

.lb-prev:hover,
.lb-next:hover{
  background:#ff5fa2;
  transform:scale(1.1);
}

/* CLOSE BUTTON (center X inside circle) */
.lb-close{
  position:absolute;
  top:-18px;
  right:-18px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:#ff5fa2;
  color:#fff;
  font-size:18px;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;
}

/* DOWNLOAD BUTTON */
.lb-download{
  position:absolute;
  bottom:-60px;
  left:50%;
  transform:translateX(-50%);
  padding:12px 22px;
  background:#ff5fa2;
  color:#fff;
  text-decoration:none;
  border-radius:22px;
  font-weight:700;
}
.lb-download:hover{ opacity:.9; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width:768px){
  .hero{ padding:40px 20px; text-align:center; }
  .hero h1{ font-size:40px; }
  .hero p{ font-size:16px; }
  .social-buttons{ max-width:100%; margin:0 auto; }

  .nav-links{ gap:18px; }
  .nav-logo a{ font-size:22px; }
}

/* =========================
   DARK MODE (optional)
   Works when body has class="dark"
========================= */
body.dark{
  background:#0f0f12;
  color:#eaeaf0;
}

body.dark .navbar{
  background:#15151b;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

body.dark .nav-links a{ color:#eaeaf0; }
body.dark .nav-links a:hover{ color:#ff5fa2; }

body.dark .theme-toggle{
  border:2px solid #ff5fa2;
  background:rgba(255,95,162,0.16);
  box-shadow:0 10px 26px rgba(255,95,162,0.25);
}

body.dark .page-title{ color:#eaeaf0; }

body.dark .category-card,
body.dark .highlight-card,
body.dark .gallery-item,
body.dark .message-box{
  background:#181820;
  box-shadow:0 8px 25px rgba(0,0,0,0.35);
}

body.dark input,
body.dark textarea{
  background:#121218;
  color:#eaeaf0;
  border:1px solid rgba(255,255,255,0.12);
}

body.dark .lb-prev,
body.dark .lb-next{
  background:rgba(255,255,255,0.12);
}
/* MAKE DARK MODE BUTTON MORE VISIBLE (override) */
.theme-toggle{
  border:2px solid #ff5fa2;
  background: linear-gradient(135deg, rgba(255,95,162,0.22), rgba(255,255,255,0));
  box-shadow:0 10px 25px rgba(255,95,162,0.35);
  font-size:22px;
}
.theme-toggle:hover{
  background: linear-gradient(135deg, rgba(255,95,162,0.30), rgba(255,255,255,0));
  box-shadow:0 14px 32px rgba(255,95,162,0.45);
}
/* FOOTER (banner + buttons) */
.site-footer{
  max-width:1100px;
  margin:0 auto;
  padding:60px 20px 40px;
  text-align:center;
}

.footer-title{
  color:#ff5fa2;
  font-size:22px;
  margin-bottom:18px;
}

.footer-banner{
  width:100%;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,0.12);
  margin:18px 0 22px;
}

.footer-banner img{
  width:100%;
  height:180px;
  object-fit:cover;
  object-position:center 15%; /* move UP (eyes) */
  display:block;
}

/* BUTTON ROW */
.footer-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

/* X button */
.footer-x-btn{
  display:inline-block;
  padding:12px 26px;
  border-radius:999px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  border:2px solid #ff5fa2;
  transition:opacity .15s, transform .15s;
}
.footer-x-btn:hover{ opacity:0.9; transform:translateY(-1px); }

/* Instagram button */
.footer-ig-btn{
  display:inline-block;
  padding:12px 26px;
  border-radius:999px;
  background:#e1306c;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  border:2px solid #ff5fa2;
  transition:opacity .15s, transform .15s;
}
.footer-ig-btn:hover{ opacity:0.9; transform:translateY(-1px); }

.footer-credit{
  font-size:12px;
  color:#777;
}

/* MOBILE */
@media (max-width:768px){
  .footer-banner img{ height:140px; }
}

/* MOBILE */
@media (max-width: 768px){
  .footer-banner img{ height:160px; }
}
/* FOOTER - DARK MODE */
body.dark .footer-title{
  color:#ff7bb7;
}

body.dark .footer-credit{
  color:#aaa;
}

body.dark .footer-banner{
  box-shadow:0 12px 32px rgba(0,0,0,0.45);
}

body.dark .footer-x-btn{
  background:#0f0f12;
  border:2px solid #ff5fa2;
}
/* FOOTER BANNER - YouTube style (override) */
.footer-banner{
  width:100%;
  max-width:1100px;
  margin:18px auto 22px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,0.12);
}

.footer-banner img{
  width:100%;
  height:180px;           /* YouTube-ish banner height */
  object-fit:cover;
  object-position:center; /* keep face centered */
  display:block;
}

/* Mobile: shorter banner */
@media (max-width:768px){
  .footer-banner img{ height:140px; }
}
/* FORCE FOOTER BANNER POSITION */
.footer-banner img{
  object-position: center 30% !important;
}
.footer-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.footer-ig-btn{
  display:inline-block;
  padding:12px 26px;
  border-radius:999px;
  background:#e1306c;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800;
  border:2px solid #ff5fa2;
}
.footer-ig-btn:hover{ opacity:0.9; transform:translateY(-1px); }

/* HERO (not full screen width, follows section width) */
.hero{
  min-height:100vh;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("../images/gallery/alice_hero.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#fff;

  display:flex;
  align-items:center;

  /* this keeps it inside the normal layout */
  max-width:1400px;
  margin:0 auto;
  padding:60px 20px;
  border-radius:22px; /* optional, looks nicer */
}

