/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts & Body */
body {
  font-family: 'BeautifulNostalgia', serif;
  background-color: #f5fff4;
  color: #3b3b3b;
  background-image: url('assets/backgrounds/clover.gif'); /* grid paper bg */
  background-size: 20px 20px;
  line-height: 1.7;
}

/* Navbar */
.navbar {
  background-color: #d8f3dc;
  padding: 12px 0;
  text-align: center;
  border-bottom: 3px dashed #b5e2b1;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.navbar a {
  text-decoration: none;
  color: #3a5a40;
  font-weight: bold;
  font-size: 1.1em;
}

.navbar a:hover {
  color: #588157;
}

/* Layout */
.container {
  display: flex;
  flex-wrap: wrap;
  margin: 30px auto;
  max-width: 1000px;
  gap: 60px;
  padding: 0 20px;
}

.main {
  flex: 2;
}

.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Section Boxes */
.paper-frame {
  background-color: #fffef8;
  border: 2px dashed #b7e4c7;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  z-index: 3;
}

.scrap-box {
  background-color: #e9f7da;
  border: 1px solid #c6ebbe;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 4px 4px #d4e09b;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  max-width: 300px; /* or 500px, etc. */
  width: 100%;
}

.sticker-frame {
  position: relative; /* ✅ Add this */
  background: #fff;
  border: 4px dotted #94d2bd;
  padding: 15px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 2; /* ✅ Optional but helps */
}


/* Headings */
h1, h2, h3 {
  font-family: 'Angelica', 'Handlee', cursive;
  color: #588157;
  margin-bottom: 10px;
}

h1 {
  font-size: 51px; /* or try 36px */
}

h2 {
  font-size: 41px; /* or try 28px */
}

h3 {
  font-size: 35px; /* or try 22px */
}


/* Profile Pic */
.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Cute Bullets */
ul.custom-bullets {
  list-style: none;
  padding-left: 1.2em;
}

ul.custom-bullets li {
  position: relative;
  padding-left: 1.2em;
}

ul.custom-bullets li::before {
  content: "❀";
  position: absolute;
  left: 0;
  color: #94c973;
  font-size: 1em;
}

/* Corner Stickers */
.corner-sticker {
  position: absolute;
  width: 80px;
  height: auto;
  pointer-events: none;
  z-index: 10; /* ✅ Higher than z-index: 2 of parent */
  opacity: 1;   /* ✅ Make sure it's not hidden */
}

.corner-top-left {
  top: -35px;   /* was -10px */
  left: -35px;
}

.corner-top-right {
  top: -35px;
  right: -35px;
}

.corner-bottom-left {
  bottom: -35px;
  left: -35px;
}

.corner-bottom-right {
  bottom: -35px;
  right: -35px;
}

/* Floating Decorations */
.decor-img {
  width: 280px;
  display: block;
  margin: 10px auto;
}

/* Tilt Boxes on Hover */
.tilt-box {
  transition: transform 0.3s ease;
  transform-origin: center;
  transform-style: preserve-3d; /* ✅ Add this */
  will-change: transform; /* ✅ Helps browser stack properly */
}

.tilt-left:hover {
  transform: rotate(-2deg);
}

.tilt-right:hover {
  transform: rotate(2deg);
}

@font-face {
  font-family: 'BeautifulNostalgia';
  src: url('assets/fonts/BeautifulNostalgiaPersonalUse.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'Angelica';
  src: url('assets/fonts/angelica.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* spacing between boxes */
  margin-top: 20px;
}

.row .scrap-box {
  flex: 1;
  min-width: 250px;
  max-width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}


.styled-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px; /* optional */
  display: block;
  margin: 0 auto;
}

.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gallery img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Gallery thumbnails */
.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gallery img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Layout fix for green + story row */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 280px;
}

.row .paper-frame {
  flex: 2;
  min-width: 300px;
}

/* Lightbox styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2em;
  font-weight: bold;
  cursor: pointer;
}

.profile-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.profile-info {
  flex: 1;
  min-width: 250px;
}

.profile-image {
  max-width: 200px;
  height: auto;
}

