/* ==========================================================
   TenZees Creations - Artist’s Scrapbook Theme
   ========================================================== */

/* ===== GLOBAL ===== */
body {
  background: #f3efe6 url('images/paper-texture.jpg');
  background-size: cover;
  font-family: 'Playfair Display', serif;
  color: #3b2d2a;
  margin: 0;
  padding: 0;
}

/* ===== WRAPPER LAYOUT ===== */
#wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #d3c4a8;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
  padding: 10px;
  backdrop-filter: blur(3px);
  border-radius: 8px;
}

/* ===== SIDEBARS ===== */
aside {
  width: 220px;
  background: #fdfaf5;
  border: 2px dashed #cbbfa9;
  padding: 20px;
  margin: 10px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
  position: relative;
  border-radius: 6px;
}

/* Decorative tape effect */
#sidebar-left::before,
#sidebar-right::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  width: 80px;
  height: 25px;
  background: rgba(240, 228, 200, 0.8);
  transform: translateX(-50%) rotate(-2deg);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Sidebar Titles */
aside h2 {
  font-family: 'Caveat', cursive;
  font-size: 1.8em;
  color: #6a5143;
  margin-bottom: 10px;
  border-bottom: 1px dashed #b59b83;
  padding-bottom: 5px;
}

/* Sidebar Links */
aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

aside a {
  display: block;
  text-decoration: none;
  color: #4a372c;
  background: #f7f3ec;
  border: 1px solid #d2c1a8;
  border-radius: 6px;
  margin: 6px 0;
  padding: 8px;
  font-family: 'Gloria Hallelujah', cursive;
  transition: 0.3s;
}

aside a:hover, aside .active {
  background: #e7dbc7;
  color: #6b4b3d;
  transform: translateY(-2px);
}

/* ===== MAIN CONTENT ===== */
main {
  flex: 1;
  padding: 20px 40px;
  background: #fffdf9;
  border-radius: 10px;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  font-family: 'Caveat', cursive;
  font-size: 3em;
  color: #5d4a3f;
  text-shadow: 2px 2px #e6d3b8;
  margin: 0;
}

.subtitle {
  font-family: 'Gloria Hallelujah', cursive;
  font-size: 1.1em;
  color: #7a6b5a;
}

/* ===== SCRAPBOOK ELEMENTS ===== */
.paper {
  background: #fff9f0 url('images/notebook-paper.png');
  border: 1px solid #d6c5a9;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 6px;
  position: relative;
}

/* ===== POLAROID IMAGES ===== */
.polaroid {
  display: block;
  margin: 15px auto;
  padding: 10px;
  background: #fff;
  border: 2px solid #ddd;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
  transform: rotate(-2deg);
  max-width: 400px; /* limits width */
  width: 90%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect - gentle lift and tilt */
.polaroid:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 5px 8px 15px rgba(0,0,0,0.3);
}

/* ===== MESSAGE BOX ===== */
textarea {
  width: 95%;
  height: 120px;
  padding: 10px 14px;
  border: 2px solid #d2b48c; /* tan border */
  border-radius: 10px;
  background: #fffaf0 url('images/paper-texture.jpg'); /* parchment-like */
  background-size: cover;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 15px;
  color: #5c3d2e;
  resize: vertical;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

textarea:focus {
  outline: none;
  border-color: #c49b66;
  background-color: #fffdf5;
  box-shadow: 0 0 6px rgba(196, 155, 102, 0.7),
              inset 0 0 6px rgba(0, 0, 0, 0.15);
}

/* ===== STYLIZED BUTTON ===== */
input[type="submit"], button {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(to bottom, #d2b48c, #bfa06a);
  border: 2px solid #a9824b;
  border-radius: 25px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 15px;
  color: #3e2a18;
  cursor: pointer;
  text-shadow: 1px 1px #f5f1e9;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

input[type="submit"]:hover, button:hover {
  background: linear-gradient(to bottom, #e8d1a8, #caa96b);
  transform: translateY(-2px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25);
}

input[type="submit"]:active, button:active {
  transform: translateY(1px);
  box-shadow: inset 0 3px 4px rgba(0, 0, 0, 0.2);
}


/* ===== FOOTER ===== */
footer {
  text-align: center;
  font-family: 'Gloria Hallelujah', cursive;
  color: #6b4b3d;
  margin-top: 30px;
  font-size: 0.9em;
}
