/* 1. Basic Reset & Body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Unbounded', sans-serif;
  color: #000;
  /* Hide the native cursor so we can use our custom HTML-based cursor */
  cursor: none;
}

/* 2. Full-screen background for pages that need it */
#homePage,
#drawingsPage,
#workPage,
#bioPage,
#contactPage {
  width: 100vw;
  height: 100vh;
  background: url('images/bg.jpg') center center/cover no-repeat;
  position: relative;
}

/* 3. Header & Navigation */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
}
.logo {
  font-size: 24px;
  font-weight: 700;
}
.main-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}
.main-nav a:hover {
  color: #444;
}

/* 4. Canvas (Home Page) */
#drawingCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Remove any cursor: url(...) here so the HTML-based cursor can show */
}

/* 5. Submit Button */
.submit-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  z-index: 999;
}
.submit-btn:hover {
  background: #444;
}

/* 6. Custom HTML-based Cursor */
.custom-cursor {
  position: fixed;
  width: 180px;
  height: 180px;
  pointer-events: none;
  background: url("https://cdn.discordapp.com/attachments/995019312760881183/1355044363595419728/sharpie.png") no-repeat center center;
  background-size: 180px 180px; no-repeat center center;
  background-size: 180px 180px;
  z-index: 10000;
  /* transform: translate(0, -100%) shifts the icon upward by its own height,
     aligning its bottom edge with the pointer */
  transform: translate(0, -100%);
}
/* 7. Slider Container (Drawings & Work Pages) */
.slider-container {
  position: absolute;
  top: 60px; /* below header */
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  overflow: hidden;
}
.slides {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}
.slide {
  min-width: 100%;
  object-fit: cover;
}

/* 8. Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #000;
  padding: 10px;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  z-index: 1000;
}
.arrow-left {
  left: 0;
}
.arrow-right {
  right: 0;
}
.arrow:hover {
  background: rgba(255,255,255,0.8);
}

/* 9. Content-area (Bio & Contact) */
.content-area {
  position: absolute;
  top: 60px; /* below header */
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  background: rgba(255,255,255,0.8);
  padding: 40px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .logo { font-size: 20px; }
  .main-nav a { margin-left: 10px; }
  .arrow { font-size: 30px; }
}
