:root {
  --bg-dark: #05070a;
  --bg-alt: #080c12;
  --bg-teal: #021822;

  --accent-muted: #787273;
  --accent-gold: #e4cf64;
  --accent-teal: #00a6b8;
  --nav-glass-blue: rgba(0, 61, 80, 0.38);

  --warning-soft: rgba(255, 193, 7, 0.78);
  --warning-bright: #e4a11b;
  --light-muted: #dcf2f0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

/* font helpers */
.russo { font-family: 'Russo One', sans-serif; }
.mono  { font-family: 'Space Mono', monospace; }
.sans  { font-family: 'Open Sans', sans-serif; }

/* text helpers */
.text-warning-soft   { color: var(--warning-soft); }
.text-warning-bright { color: var(--warning-bright); }
.text-light-muted    { color: var(--light-muted); }

/* generic sections */
.section-dark {
  background-color: var(--bg-dark);
}

.section-alt {
  background-color: var(--bg-alt);
}

/* let sticky navbar not hide headings on scroll */
.section {
  scroll-margin-top: 80px;
}

/* ============================= */
/*       SECTION HEADINGS        */
/* ============================= */

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  letter-spacing: 0.18em;
}

.section-heading-cursor {
  width: 0.55rem;
  height: 2.2rem;
  background-color: var(--warning-bright);
}

.section-heading span:last-child {
  color: #ffffff;
}

/* ABOUT meta block */
.about-meta {
  max-width: 32rem;
}

/* ============================= */
/*        ABOUT PHOTO FRAME      */
/* ============================= */

.about-photo-shell {
  position: relative;
  display: inline-block;
  width: min(42vw, 360px);
  transform: rotate(2deg); /* slight studio-angle tilt */
}

.about-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter:
    brightness(0.78)
    contrast(1.22)
    saturate(1.05)
    blur(0.3px);
}

/* teal outer corners */
.about-corner {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  border: 3px solid transparent;
}

.about-corner--tl {
  border-top-color: var(--accent-teal);
  border-left-color: var(--accent-teal);
  top: -34px;
  left: -34px;
}

.about-corner--br {
  border-bottom-color: var(--accent-teal);
  border-right-color: var(--accent-teal);
  bottom: -42px;
  right: -46px;
}

/* thin yellow floating side lines */
.about-line {
  position: absolute;
  width: 2px;
  background: var(--accent-gold);
}

.about-line--left {
  left: -14px;
  top: 18%;
  height: 38%;
}

.about-line--right {
  right: -10px;
  top: 40%;
  height: 46%;
}

/* small tweak for smaller screens */
@media (max-width: 768px) {
  .about-photo-shell {
    width: min(70vw, 320px);
  }

  .about-corner {
    width: 78px;
    height: 78px;
    border-radius: 14px;
  }

  .about-corner--tl {
    top: -26px;
    left: -26px;
  }

  .about-corner--br {
    bottom: -32px;
    right: -34px;
  }

  .about-line--left {
    left: -10px;
  }

  .about-line--right {
    right: -8px;
  }
}
.btnArrowOnly {
    padding: 0.4rem !important;
    width: 45px;
    height: 45px;
    border-radius: 50px !important;
    font-size: 1.2rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


.btnArrowOnly:hover {
    transform: translateX(4px); /* tiny hover motion */
}

/* ============================= */
/*        SKILLS MARQUEE         */
/* ============================= */

.skills-marquee {
  overflow: hidden;
  padding-block: 0.75rem;
}

.skills-marquee__track {
  display: flex;
  width: max-content;
}

.skills-marquee__group {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0; /* keep width, needed for seamless loop */
}

.skill-pill {
  border-radius: 999px;
  border: 1px solid rgba(0, 195, 255, 0.35);
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
  white-space: nowrap;

  background: rgba(0, 61, 80, 0.25);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  color: var(--light-muted);
}
.marquee-container-wrap {
  max-width: 88%;
  margin: 0 auto;       /* centers the 66% block */
}
.marquee-container {
  max-width: 88%;
  margin: 0 auto;       /* centers the 66% block */
}

/* optional: make each slider full width inside that 66% */
.skills-marquee {
  width: 100%;
}
.hero-subline-wrapper {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}


.hero-subline-right {
    text-align: right;
}
/* ============================= */
/*         PROJECT CARDS         */
/* ============================= */

.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card {
  background-color: #030509;
  border-radius: 1rem;
  border: 1px solid rgba(0, 195, 255, 0.25); /* subtle teal by default */
  overflow: hidden;
  filter: brightness(0.92); /* card slightly dimmed */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    filter 0.3s ease;
}

.project-card img.card-img-top {
  height: 180px;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.05);  /* dimmed image */
  transition: filter 0.3s ease;
}

.project-card .card-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warning-bright);             /* readable, matches theme */
}

.project-card .card-text {
  font-size: 0.9rem;
}

/* hover: bright + neon glow + tiny angle */
.project-card:hover {
  filter: brightness(1);
  background-color: var(--bg-alt);
  border-color: rgba(0, 195, 255, 0.85);
  box-shadow:
    0 0 0 1px rgba(0, 195, 255, 0.45),
    0 0 24px rgba(0, 195, 255, 0.55);
    
  /* transform: translateY(-6px) scale(1.01) rotate3d(0, 1, 0, 0.6deg) !important; */
}

.project-card:hover img.card-img-top {
  filter: brightness(1.05) contrast(1.08);
}
/* ================== CONTACT ================== */
/* ================== CONTACT SECTION ================== */
.section-contact {
  background-color: var(--bg-teal); /* #021822 */
}

.section-contact .section-heading span:last-child {
  color: #ffffff;
}

.contact-input {
  background-color: #0a1f28;
  border: 1px solid rgba(0, 195, 255, 0.2);
  color: var(--light-muted);
}
.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.contact-input:focus {
  border-color: rgba(0, 195, 255, 0.55);
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.3);
  background-color: #0d2a36;
  color: #fff;
}


/* FOOTER BASE */
.footer-dark {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(0,255,255,0.08);
}

/* Footer variant of rainbow divider */
.rainbow-hr-footer {
  width: 60%;
  padding: 1rem 0;   /* less tall than the projects one */
  margin: 0 auto;
}

/* ICONS */
.footer-icon {
  font-size: 1.4rem;
  color: var(--light-muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-icon:hover {
  color: var(--accent-teal);
  transform: translateY(-2px);
}
.contact-link {
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.contact-link:hover {
  color: var(--warning-bright) !important; /* same as your text-warning */
}
.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.2rem; /* icon size */
}
.btn-icon i {
  transition: color 0.25s ease;
}

.btn-icon:hover i {
  color: var(--warning-bright); /* or your hex value */
}
/* ========== WIRED MODAL LOOK ========== */
.modal-wired .modal-content {
  background: #05080c;
  border-radius: 18px;
  border: 1px solid #00a0b5;
  box-shadow: 0 0 40px rgba(0, 224, 255, 0.18);
  color: #f8f9fa;
}

.modal-wired .modal-header {
  border-bottom: 1px solid rgba(0, 224, 255, 0.25);
  padding: 1.1rem 1.5rem 0.9rem;
}

.modal-wired .modal-title {
  font-family: 'Russo One', sans-serif;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--warning-bright);
}

.modal-wired .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.7;
}

.modal-wired .btn-close:hover {
  opacity: 1;
}

.modal-wired .modal-body {
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd3e1;
}

/* Tabs in legal modal */
.modal-wired .nav-tabs {
  border-bottom-color: rgba(0, 224, 255, 0.18);
  margin-bottom: 0.75rem;
}

.modal-wired .nav-tabs .nav-link {
  border-radius: 999px;
  border: 1px solid transparent;
  color: #9ea6b4;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 0.35rem 0.9rem;
  margin-right: 0.35rem;
  background: rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.modal-wired .nav-tabs .nav-link.active {
  background: rgba(0, 224, 255, 0.08);
  border-color: rgba(0, 224, 255, 0.7);
  color: var(--warning-bright);
}

.modal-wired .nav-tabs .nav-link:hover:not(.active) {
  border-color: rgba(0, 224, 255, 0.4);
  color: #e9edf5;
}

.modal-wired .tab-content {
  margin-top: 0.75rem;
  max-height: min(60vh, 420px);
  overflow-y: auto;
}

/* ========== MEME CAROUSEL ========== */
.meme-carousel {
  max-width: 520px;
  margin: 0 auto;
}

.meme-img-wrapper {
  position: relative;
}

.meme-img {
  border-radius: 14px;
  opacity: 0.95;
}

/* Overlay box at bottom of image */
.meme-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.4rem;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
  border-radius: 0 0 14px 14px;
}

.meme-quote {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  color: var(--light-muted);
}

.meme-author {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--warning-bright);
}

/* Arrows a bit chunkier + gold-tinted */
.meme-control {
  width: 14%;
}

.meme-arrow {
  filter: invert(66%) sepia(94%) saturate(600%) hue-rotate(10deg)
          brightness(100%) contrast(105%);
}

.cv-link {
    text-decoration: none;
}

.cv-link:hover {
  color: var(--accent-teal) !important;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--warning-bright);
}
