/* Disable GitHub Pages/Jekyll default styling */
body, html {
  background-image: none !important;
  background-color: #fff !important;
}

/* Disable any potential theme headers */
.site-header, 
.page-header, 
header.site-header,
.header,
.site-nav,
.main-nav {
  background-color: transparent !important;
  background: none !important;
  border: none !important;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #fff !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.6;
  color: #333 !important;
  background-color: #fff !important;
  font-size: 16px;
  margin: 0 !important;
  padding: 0 !important;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  margin-top: 30px;
  margin-bottom: 40px;
  background-color: transparent !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.site-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000 !important;
  background-color: transparent !important;
  background: none !important;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: transparent !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nav-link {
  color: #333 !important;
  text-decoration: none !important;
  font-size: 16px;
  transition: color 0.2s ease;
  background-color: transparent !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.nav-link:hover {
  color: #666 !important;
  background-color: transparent !important;
}

.nav-link.active {
  color: #000 !important;
  font-weight: 500;
  background-color: transparent !important;
}

/* Lorenz Attractor Animation */
.lorenz-container {
  position: absolute;
  /* top: 0; */
  bottom: 270px;
  right: 90px;
  width: 700px;
  height: 500px;
  pointer-events: none;
  z-index: -1;
}

#lorenzCanvas {
  display: block;
  background: transparent;
  width: 100% !important;
  height: 100% !important;
}

/* Main content */
main {
  flex: 1;
  position: relative;
  z-index: 1;
}

.greeting {
  font-size: 28px;
  font-weight: normal;
  margin-bottom: 10px;
  color: #000;
}

/* Bio section */
.bio {
  max-width: 600px;
}

.bio p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.bio a {
  color: #007acc;
  text-decoration: none;
}

.bio a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

footer p {
  color: #666;
  font-size: 14px;
  text-align: center;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .container {
    padding: 15px;
  }
  
  .site-title {
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  nav {
    gap: 15px;
  }
  
  .nav-link {
    font-size: 15px;
  }
  
  .greeting {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .bio p {
    font-size: 15px;
    margin-bottom: 18px;
  }
  
  header {
    margin-top: 20px;
    margin-bottom: 30px;
  }
  
  footer {
    margin-top: 40px;
  }
  
  /* Scale animation for tablet */
  .lorenz-container {
    right: 8px;
    width: 350px;
    height: 250px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 12px;
  }
  
  .site-title {
    font-size: 20px;
  }
  
  nav {
    gap: 12px;
  }
  
  .nav-link {
    font-size: 14px;
  }
  
  .greeting {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .bio p {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  
  header {
    margin-top: 15px;
    margin-bottom: 25px;
  }
  
  /* Scale animation for mobile */
  .lorenz-container {
    top: -24px;
    right: -15px;
    width: 300px;
    height: 220px;
  }
}

/* Landscape mobile orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .container {
    padding: 10px;
  }
  
  header {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  
  .greeting {
    margin-bottom: 15px;
    font-size: 20px;
  }
  
  .bio p {
    margin-bottom: 12px;
  }
  
  footer {
    margin-top: 30px;
  }
  
  /* Scale animation for landscape mobile */
  .lorenz-container {
    right: 5px;
    width: 180px;
    height: 120px;
  }
}
  