/* style.css */
/* reset stuff */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-color: #0a192f;
  --secondary-color: #64ffda;
  --text-color: #8892b0;
  --light-text: #ccd6f6;
  --card-bg: #112240;
  --border-color: #233554;
  --accent: #ff6b6b;
  --shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--main-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* helper class */
.wrap-it {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* top bar */
.top-thing {
  background-color: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.top-thing .wrap-it {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.my-brand {
  flex: 1;
}

.brand-txt {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.links-box {
  display: flex;
  gap: 30px;
}

.page-link {
  color: var(--light-text);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.page-link:hover {
  color: var(--secondary-color);
}

.page-link.current {
  color: var(--secondary-color);
}

.page-link.current::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--secondary-color);
  font-size: 1.2rem;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* intro section */
.intro-bit {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--main-color) 0%, #0d1b36 100%);
}

.two-col {
  display: flex;
  align-items: center;
  gap: 60px;
}

.left-side {
  flex: 1;
}

.hello-box {
  max-width: 600px;
}

.big-hello {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--light-text);
  line-height: 1.1;
  margin-bottom: 15px;
}

.my-name {
  color: var(--secondary-color);
  display: inline-block;
  position: relative;
}

.my-name::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
  opacity: 0.3;
}

.tag-line {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 25px;
  font-family: "JetBrains Mono", monospace;
}

.description {
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.8;
}

.btn-holder {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--secondary-color);
  color: var(--main-color);
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  border: 2px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.action-btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.action-btn.outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.action-btn.outline:hover {
  background-color: var(--secondary-color);
  color: var(--main-color);
}

/* right side with image placeholder */
.right-side {
  flex: 1;
  display: flex;
  justify-content: center;
}

.img-spot {
  position: relative;
  width: 100%;
  max-width: 450px;
}
.dummy-img {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;               /* reduce padding */
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  height: 400px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.dummy-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;         /* THIS is where it belongs */
  display: block;
}

.dummy-img:hover img {
  transform: scale(1.2);
}

.img-icon {
  font-size: 5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.img-label {
  font-size: 1.5rem;
  color: var(--light-text);
  margin-bottom: 5px;
  font-weight: 600;
}

.img-note {
  font-size: 0.9rem;
  color: var(--text-color);
  font-style: italic;
}

.img-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: var(--secondary-color);
  opacity: 0.05;
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

/* stuff section */
.stuff-section {
  padding: 80px 0;
  background-color: #0d1b36;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.title-thing {
  font-size: 2.5rem;
  color: var(--light-text);
  margin-bottom: 15px;
}

.underline {
  width: 70px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 0 auto;
}

.card-holder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.my-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.my-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
}

.card-top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.card-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-right: 15px;
}

.card-title {
  font-size: 1.5rem;
  color: var(--light-text);
}

.card-body {
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background-color: rgba(100, 255, 218, 0.1);
  color: var(--secondary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: "JetBrains Mono", monospace;
}

/* quote section */
.quote-bit {
  padding: 60px 0;
  background-color: var(--main-color);
}

.quote-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  border-left: 4px solid var(--secondary-color);
  background-color: var(--card-bg);
  border-radius: 0 8px 8px 0;
}

.quote-mark {
  font-size: 5rem;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 10px;
  font-family: serif;
}

.quote-text {
  font-size: 1.8rem;
  color: var(--light-text);
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.4;
}

.quote-author {
  color: var(--text-color);
  font-family: "JetBrains Mono", monospace;
}

/* footer */
.bottom-thing {
  background-color: #0a0f1c;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 2rem;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "JetBrains Mono", monospace;
}

.footer-motto {
  font-size: 0.95rem;
  line-height: 1.7;
}

.links-heading {
  color: var(--light-text);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: "JetBrains Mono", monospace;
}

.footer-link {
  display: block;
  color: var(--text-color);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--card-bg);
  color: var(--light-text);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: var(--main-color);
  transform: translateY(-3px);
}

.copyright-line {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

/* responsive stuff */
@media (max-width: 992px) {
  .two-col {
    flex-direction: column;
    text-align: center;
  }

  .left-side,
  .right-side {
    width: 100%;
  }

  .hello-box {
    max-width: 100%;
  }

  .big-hello {
    font-size: 2.8rem;
  }

  .btn-holder {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .links-box {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--main-color);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .links-box.show {
    transform: translateY(0);
  }

  .menu-btn {
    display: block;
  }

  .page-link {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
  }

  .page-link:last-child {
    border-bottom: none;
  }

  .big-hello {
    font-size: 2.3rem;
  }

  .card-holder {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .big-hello {
    font-size: 2rem;
  }

  .tag-line {
    font-size: 1.2rem;
  }

  .btn-holder {
    flex-direction: column;
    align-items: center;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }

  .dummy-img {
    height: 300px;
    padding: 30px;
  }

  .img-icon {
    font-size: 3.5rem;
  }
}
