:root{
  --bg-main: #121212;
  --textmain: #F5F5F5;
  --accent-orange:#FF6B00;
  --card-bg:#2C2C2C;
  --hover-bg:#3C3C3C;
  --secondary-accent:#F9A825;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: "Eras Medium ITC";
  background-color: var(--bg-main);
  color: var(--textmain);
  line-height: 1.6;
  padding: 0px;
}

header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 4px solid #00FF90;
  font-family: "Feather Bold";
  padding: 14px 18px;

}
header h1{
  font-size: 32px;
}
nav{
  font-size: 24px;
}
nav a {
  margin-left: 1rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent-orange);
}

#scroll-gallery {
  position: relative;
  overflow: hidden;
  height: 500px;
  width: 100%;
  border-bottom: 4px solid #00FF90;
}

.image-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: fit-content;
}

.image-track img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between; /* pushes arrows to edges */
  align-items: center;             /* vertically center everything */
  z-index: 10;
  pointer-events: none; /* lets clicks pass through except to children */
}


#title {
  text-align: center;
  pointer-events: none;
}

#title h1 {
  font-size: 4em;
  color: white;
  font-family: "Feather Bold", sans-serif;
  margin: 0;
}

#title h2 {
  font-size: 1.5em;
  color: white;
  font-family: "Eras Medium ITC", sans-serif;
  margin: 0;
}

/* Arrow panels */
.arrow-panel {
  width: 250px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto; /* restore clickability */
}

.arrow-panel:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.arrow-panel.left {
  left: 0;
}

.arrow-panel.right {
  right: 0;
}

/* Arrow image style */
.arrow-icon {
  width: 40px;
  height: 40px;
  z-index: 3;
  filter: brightness(100%) contrast(100%);
  pointer-events: none; /* ensures click passes to panel */
}


#home {
  text-align: center;
  padding: 3rem 1rem;
}

#home .button {
  display: inline-block;
  margin-top: 1rem;
  background-color: var(--accent-orange);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

#home .button:hover {
  background-color: var(--secondary-accent);
}

#about {
  padding: 2rem 0;
  max-width: 800px;
  margin: auto;
}

.project-section {
  margin: 2rem 0;
}

.project-section h2{
  margin: .5em;
  margin-top: 0;
}

.project-card {
  background-color: var(--card-bg);
  padding: 1rem;

  margin-bottom: 1rem;
  border-left: 5px solid var(--accent-orange);
  transition: background-color 0.3s;
}
.project-card a{
  color: var(--textmain);
  text-decoration: none;
}
.project-card:hover {
  background-color: var(--hover-bg);
}
.project-card a:visited {
  color: var(--textmain);
  text-decoration: none;
}

footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  font-size: 36px;
  margin-top: 3rem;
}

footer a{
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover{
  color: var(--secondary-accent);
}

