
html {
  scroll-behavior: smooth;
}


:root {
  --bg: #f8fafc;
  --fg: #18181b;
  --accent: #3a3a3a;
  --border: #e5e7eb;
  --card: #ffffff;
  --dot: #d1d5db;
  --shadow: 0 2px 16px 0 rgba(60,60,60,0.06);
  --link: #6c63ff;
  --link-hover: #4f46e5;
}

body.dark {
  --bg: #121212;
  --fg: #f2ede4;
  --accent: #f2ede4;
  --border: #2a2a2a;
  --card: #181818;
  --dot: #222;
  --shadow: 0 2px 16px 0 rgba(0,0,0,0.5);
  --link: #ffdd99;
  --link-hover: #ffe6b7;
}


body.dark header {
  background: color-mix(in srgb, #000000 85%);
  border-bottom: 1.5px solid var(--accent);
  backdrop-filter: blur(8px);
}

body.dark .center-navbar {
  background: color-mix(in srgb, #262626 80%, transparent 20%);
  border: 2px solid var(--accent);
}


body.dark .about-junk-journaling,
body.dark .gallery,
body.dark .stickers,
body.dark .community,
body.dark .registration-section,
body.dark .basket {
  background-color: #000000;
}

body.dark .about-text p,
body.dark .gallery h2,
body.dark .stickers p,
body.dark .community p,
body.dark .registration-section h2,
body.dark .registration-form input,
body.dark .registration-form textarea {
  color: var(--fg);
}

body.dark {
  --bg: #1a1a1a;
  --fg: #f8f3e7;
  --accent: #f8f3e7;
  --border: #2e2e2e;
  --card: #262626;
  --dot: #333333;
  --shadow: 0 2px 16px 0 rgba(0,0,0,0.5);
  --link: #f8f3e7;
  --link-hover: #ffdd99;
}

/* Universal text color in dark mode */
body.dark, 
body.dark p, 
body.dark h1, 
body.dark h2, 
body.dark h3, 
body.dark h4, 
body.dark h5, 
body.dark h6, 
body.dark span, 
body.dark li, 
body.dark a, 
body.dark div, 
body.dark button, 
body.dark input, 
body.dark textarea, 
body.dark label {
  color: var(--fg);
}



html, body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-family: 'Bodyfont', Arial,sans-serif;
  background: var(--bg) !important; 
  color: var(--fg);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  /* cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text x='0' y='24' font-size='28' fill='%23818cf8'>📖</text></svg>") 16 16, auto; */
}


/* Custom scrollbar for Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--link-hover);
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

/*ttfs */



.bg-dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.5;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4vw; 
  background: color-mix(in srgb, var(--bg) 85%);
  border-bottom: 1.5px solid #000000;
  backdrop-filter: blur(8px);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
body:not(.dark) header {
  border: 1.5px solid #000000;
}

header.transparent {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1.5px solid var(--accent);
  backdrop-filter: blur(8px);
}

body.dark header.transparent {
  background: color-mix(in srgb, #181920 90%, transparent 10%);
}
main {
  padding-top: 90px;
  min-height: calc(100vh - 90px);
  background: var(--bg);
  /* or whatever your navbar height is */
}

.bg-stickers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.sticker {
  position: absolute;
  width: 36px;
  height: 36px;
  font-size: 2rem;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.7);
  animation: popSticker 3s cubic-bezier(.5,1.5,.5,1) forwards;
}

@keyframes popSticker {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  10% {
    opacity: 1;
    transform: scale(1.2);
  }
  20% {
    transform: scale(1);
  }
  80% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.7);
  }
}
.center-navbar {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 80%, transparent 20%);
  border-radius: 2rem;
  box-shadow: 0 4px 32px 0 rgba(60,60,60,0.10);
  backdrop-filter: blur(12px);
  padding: 0.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  max-width: 90vw;
  border: 2px solid var(--accent);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2.5rem;
}

.logo {
  font-size: 2rem;
  font-weight: 1000;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-family: 'LogoFont',sans-serif;
}

.nav-circles {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-circle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--card);
  color: var(--accent);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(60,60,60,0.08);
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.nav-circle:hover {
  background: var(--accent);
  color: var(--card);
  border-color: var(--accent);
}

.mode-toggle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--card);
  color: var(--accent);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.mode-toggle:hover {
  background: var(--accent);
  color: var(--card);
  border-color: var(--accent);
}
@media (max-width: 600px) {
  .center-navbar {
    padding: 0.5rem 1rem;
    min-width: 180px;
  }
  .navbar-inner {
    gap: 1.2rem;
  }
}
.hero {
  text-align: center;
  padding: 4rem 2vw 2rem 2vw;
  background: none;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.7rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  font-family: 'IBM Plex Mono', sans-serif;
  color: var(--fg);
  opacity: 0.8;
}

section {
  position: relative;
  z-index: 1;
}

.gallery {
  padding: 3rem 4vw 2rem 4vw;
  background: #3c4e48;
  /*background: #3c4e48;*/
}

.gallery h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.images {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.img-placeholder {
  width: 180px;
  aspect-ratio: 4 / 3;
  border: 1.5px solid #000000;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.9;
  transition: border 0.2s, box-shadow 0.2s;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}


.img-placeholder:hover {
  border: 2px solid var(--accent);
  box-shadow: 0 4px 24px 0 rgba(108,99,255,0.10);
}

.img-placeholder span {
  opacity: 0.7;
}

.stickers{
  padding: 2.5rem 4vw 2rem 4vw;
  background: none;
}
.stickers h2{
  color: var(--accent);
}
.stickers p{
  color: var(--fg);
  opacity: 0.9;
  font-family: 'IBM Plex Mono', sans-serif;
}
.stickers-placeholder {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.sticker-demo {
  font-size: 2.2rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  color: var(--fg);
}

.community{
  padding: 2.5rem 4vw 2rem 4vw;
  background: none;
}
.community h2{
  color: var(--accent);
}
.community p{
  color: var(--fg);
  opacity: 0.9;
  font-family: 'IBM Plex Mono', sans-serif;
}
.community-link {
  display: inline-block;
  margin-right: 1.5rem;
  color: var(--link);
  text-decoration: underline;
  font-weight: 500;
  margin-top: 0.7rem;
  transition: color 0.2s;
}

.community-link:hover {
  color: var(--link-hover);
}

.sromo {
  position: fixed;
  right: 2vw;
  bottom: 2vw;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent);
  font-size: 1rem;
  border-radius: 12px;
  padding: 0.7rem 1.5rem;
  z-index: 20;
  border: 2px solid var(--accent);
  transition: background 0.3s, color 0.3s, opacity 0.3s, border 0.3s;
}


body.dark footer {
  background: rgba(24, 25, 32, 0.8);

}

    @media (max-width: 768px) {
      nav {
        gap: 1rem;
      }
      
      .logo {
        font-size: 1.8rem;
        color: #000000;
      }
      
      .hero h1 {
        font-size: 2rem;
      }
    }

    @media (max-width: 480px) {
      header {
        flex-direction: column;
        padding: 1rem;
      }
      
      nav {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
      }
      
      .mode-toggle {
        margin-left: 0;
      }
    }


/* Overlay base */
.custom-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  background: rgba(24,25,32,0.3);
  z-index: 0;
}

/* Poster deck overlay */
.poster-view {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.18);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 80vw;
  max-height: 80vh;
}
.poster-view img {
  max-width: 60vw;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(60,60,60,0.10);
  object-fit: contain;
}

/* Book overlay */
.book-container {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.18);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 340px;
  min-height: 420px;
  max-width: 90vw;
  max-height: 90vh;
}
.book-page {
  max-width: 320px;
  max-height: 400px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(60,60,60,0.10);
  object-fit: contain;
  background: var(--bg);
}
.book-prev, .book-next {
  background: var(--accent);
  color: var(--card);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
.book-prev:hover, .book-next:hover {
  background: var(--link-hover);
}

/* Prompt overlay */
.prompt-box {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.18);
  padding: 2rem 3rem;
  min-width: 240px;
  min-height: 80px;
  font-size: 1.2rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.basket {
  background-color: #f2f0ef;
  padding: 50px 20px;
}

.basket-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}

.basket-image img {
  max-width: 400px;
  width: 70%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.basket-text {
  flex: 1;
  color: #000000;
  margin-left: 20px;

}

.basket-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.basket-text p {
  font-size: 15px;
  line-height: 1.6;
}





@font-face {
  font-family: 'Bristol';
  src: url('../assets/fonts/Bristol.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Boska';
  src: url('../assets/fonts/Boska-Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/Switzer-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Boska', serif;
}

body, p, a, span, li, button, div {
  font-family: 'Switzer', sans-serif;
}
body{
  body {
    background-color: #F8F7F2;
    margin: 0;
    padding: 0;
    font-family: 'Switzer-Regular', sans-serif;
  }
  
}
.logo {
  font-family: 'Bristol', serif;
  font-size: 2rem;
  letter-spacing: 0.5px;
}

body {
  background-color: #F8F7F2;
  margin: 0;
  padding: 0;
  font-family: 'Switzer', sans-serif;
}

.foot {
  background-color: #000000;
  color: #F8F7F2;
  padding: 10px;
  text-align: center;

}

.bg-section {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  min-height: 400px; /* adjust as needed */
}
.bg-section.dark {
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  min-height: 400px; /* adjust as needed */
}

.bg-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../../assets/images/bg.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.5;  
  z-index: 0;
}

.section-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #000; 
}
.registration-section {
  padding: 4rem 2rem;
  background-color: #FFFFFF;
  color: #000000;
  text-align: center;
}

.registration-section h2 {
  font-family: 'Bristol', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000000;
}

.registration-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.registration-form input,
.registration-form textarea {
  padding: 0.9rem 1.1rem;
  border: 1.5px solid #5e5e5e;
  border-radius: 6px;
  background: #FFFFFF;
  color: #000000;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.registration-form input::placeholder,
.registration-form textarea::placeholder {
  color: #888888;
  opacity: 0.7;
}

.registration-form input:focus,
.registration-form textarea:focus {
  border-color: #28374d;
}

.registration-form button {
  padding: 0.9rem 1.5rem;
  border: 2px solid #000000;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.registration-form button:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/*       About Section      */

.about-junk-journaling {
  background-color: #ffffff;
  padding: 50px 20px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
}

.about-image {
  margin-right: 40px; /* clean, consistent gap */
}

.about-image img {
  max-width: 320px;
  width: 70%;
  border: 2px solid #b5ccf2;
  border-radius: 10px;
  margin: 0;
}

.about-text {
  flex: 1;
  color: #000000;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.6;
}


body.dark .section-content h1,
body.dark .section-content p,
body.dark .section-content button {
  color: #F8F7F2;
}


/* Or if your button has background, set that too */
body.dark .intro-btn {
  background: black;
  color: #F8F7F2;
  border: 1px solid #F8F7F2;
  border-radius: 0px;
}

/* Navbar logo text color in dark mode */
body.dark header .logo {
  color: #F8F7F2;
}

/* Navbar button icons */
body.dark .nav-circle,
body.dark .mode-toggle {
  background: #121212;
  color: #F8F7F2;
  border-color: #F8F7F2;
}

body.dark .nav-circle:hover,
body.dark .mode-toggle:hover {
  color: #000000;
  border-color: #F8F7F2;
}
.gallery .images img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  border: 5px solid #f5e8b7;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}




.carousel-container {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  animation: scroll-left 40s linear infinite;
}

.img-placeholder {
  min-width: 220px;
  aspect-ratio: 4 / 3;
  border: 1.5px solid #f5e8b7;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Smooth continuous scroll */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Remove underline and default blue for all links */
a {
  color: inherit;
  text-decoration: none;
}

/* Reset link styling everywhere */
a, a:visited, a:active {
  color: inherit !important;
  text-decoration: none !important;
}

.policy-links {
  background-color: #28374d;
  padding: 2rem 1rem;
  text-align: center;
  color: #dddddd;
}

.policy-links a {
  color: inherit;
  margin: 0 0.7rem;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}

.policy-links a:hover {
  color: #ffffff;
  opacity: 1;
}

body.dark .policy-links {
  background-color: #000000;
  color: var(--fg);
}

body.dark .policy-links a:hover {
  color: var(--link-hover);
}
