/* ================================
   MEDIA QUERIES
================================ */
@media (min-width: 800px) {
  .container-fluid {
    padding: 32px 8vw;
  }

  .top-row {
    flex-direction: row;
    gap: 3rem;
  }

  .nav {
    width: 150px;
    padding: 2rem 1rem;
    border-right: 1px solid #e0e0e0;
    border-bottom: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    font-size: 1.1rem;
  }

  .nav .nav-item {
    margin-bottom: 2em;
    padding: 0.5em 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .chess-image {
    flex: 1;
    min-width: 0;
  }
  .display-4 {
    text-align: center;
  }
}
@media (max-width: 1024px) and (min-width: 800px) {
  .top-row {
    gap: 1.5rem;
  }

  .hero-hand {
    width: 320px;
  }
  .pin-image {
    position: absolute;
    object-fit: contain;
    width: 11rem;
    height: 17rem;
  }
  .container-fluid {
    justify-content: center;
  }
}

@media (min-width: 540px) and (max-width: 800px) {
  .intro {
    margin-top: 2rem;
  }

  .hero {
    justify-content: center;
  }

  .hero-hand {
    width: 320px;
  }
  #tablecontents {
    text-align: left;
  }
}

@media (max-width: 540px) {
  .nav-item,
  .flex-column {
    align-items: center;
  }
}
/* ================================
   ROOT VARIABLES
================================ */
:root {
  --accent-color: #e85999; /* Chess Pink */
  --main-color: #363535; /* Dark Gray */
  --background-color: #f6f6f6; /* Soft luxury background */
  --off-pearl: #ebe4d9ff; /* Porcelain white */
  --muted-color: #adadad;
  --wool: #ede8e4;
  --shadow: box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --text-font-family:
    "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --section-spacing: 25em;
  --header-spacing: 1.5em;
  --font-size: 18px;
}

/* ================================
   GLOBAL STYLES
================================ */
body {
  margin: 0;
  font-family: var(--text-font-family);
  background-color: var(--background-color);
  color: var(--main-color);
}

/* ================================
   MAIN LAYOUT (NAV + HERO IMG)
================================ */
.container-fluid {
  padding: 24px 5vw;
}

.top-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

/* ================================
   NAVIGATION
================================ */
.nav {
  width: 100%;
  padding: 0.5rem 0;
  border-right: 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1rem;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.nav .nav-item {
  margin-bottom: 0;
  padding: 0.25rem 0;
}

.nav-link {
  white-space: nowrap;
  display: inline-block;
  font-size: 1rem;
  color: var(--main-color);
  text-decoration: none;
  transition: all 0.6s ease;
}

.nav-link:hover {
  color: var(--accent-color);
  font-weight: 600;
  cursor: pointer;
}

/* ================================
   HERO IMAGE (CHESS)
================================ */
.img-fluid {
  max-width: 100%;
}

.chess-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ================================
   INTRO SECTION TEXT
================================ */
h2,
.display-4 {
  font-size: clamp(2rem, 8vw, 4rem);
  margin-top: 15rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: var(--header-spacing);
}

.lead {
  font-size: var(--font-size);
  line-height: 1.6;
  text-align: center;
  align-items: center;
  justify-content: center;
}
p {
  text-align: center;
  margin-bottom: 5rem;
}
.col-md-8 {
  margin-inline: auto;
}
.intro {
  max-width: 900px;
  margin: 4rem auto 0;
  justify-content: center;
  align-items: center;
}

.hero {
  display: flex;
  justify-content: flex-end;
}

.hero-hand {
  position: relative;
  width: min(420px, 70%);
  margin-top: -1rem;
  object-fit: contain;
  z-index: 2;
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}
/* ================================
TABLE OF CONTENTS  
================================ */
#tablecontents {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
  margin-top: 45rem;
}
.pin-image {
  position: absolute;
  object-fit: contain;
  width: 11rem;
  height: 17rem;
}
.content {
  list-style: none;
  text-align: center;
  font-size: 35px;
  color: var(--main-color);
}
li {
  margin-bottom: 4rem;
}

/* ================================
   01 - MY VISION SECTION  
================================ */
#myvision {
  padding-top: var(--section-spacing);
}

.container-fluid {
  justify-content: center;
}
.gititgirl-image {
  display: block;
  width: 100%;
  object-fit: contain;
  border-radius: 25px;
  margin: 15rem 0 15rem 0;
  border: 5px solid var(--accent-color);
}

/* ================================
   02 - ABOUT ME
================================ */
.about-image {
  border-radius: 16rem;
  border: 5px solid #f7bce3;
}

.pinkphone-image {
  object-fit: contain;
  justify-content: center;
  width: 15rem;
  position: relative;
}

/* ================================
   03 - PORTFOLIO
================================ */

.portfolio-section.container {
  width: 96%;
  max-width: 1600px;
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--accent-color);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.portfolio-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

.portfolio-content > .display-4,
.portfolio-content > p:not(.card-text) {
  grid-column: 1 / -1;
}

.portfolio-content > .display-4 {
  margin-top: 0;
  margin-bottom: 0;
}

.portfolio-content > p:not(.card-text) {
  margin-bottom: 0;
}

.portfolio-card {
  height: 100%;
  overflow: hidden;
}

.portfolio-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.portfolio-card .card-title,
.portfolio-card .card-text {
  align-self: stretch;
}

.portfolio-card .card-title {
  font-size: 1.25rem;
}

.portfolio-card .card-text {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.portfolio-card .btn {
  margin-top: auto;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0;
  font-family: var(--text-font-family);
  text-align: center;
}

.portfolio-image {
  width: 100%;
  height: clamp(240px, 30vw, 400px);
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.portfolio-image-worldclock {
  object-fit: contain;
}

@media (min-width: 992px) {
  .portfolio-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
btn {
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: center;
  margin-bottom: 10rem;
}
btn:hover {
  background-color: var(--accent-color);
  color: white;
}

/* ================================
   04 - BRAND
================================ */

.col-md-4 {
  text-align: center;
}

.tagline {
  margin-top: 2rem;
}

.studiotones {
  width: 65em;
  position: contain;
}
.brand-images {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.pearls-image {
  width: 10rem;
  height: auto;
}
.tones {
  text-align: center;
  font-size: 18px;
}

.bubble {
  background-color: #d8d8d8;
  margin-top: 5rem;
  padding: 1em;
  text-align: center;
  border-radius: 60px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 5rem;
  font-size: 14px;
}
.studiotones-image {
  margin-top: 2rem;
  width: 500px;
  max-width: 100%;
  height: auto;
}
.pink {
  font-weight: bold;
  color: #e85999;
}
.maine {
  font-weight: bold;
  color: #363535;
}
.white {
  font-weight: bold;
  color: #f6f6f6;
}

.pearl {
  font-weight: bold;
  color: #ebe4d9;
}
.muted {
  font-weight: bold;
  color: #adadad;
}

/*=============================
INSPO
===========================*/
.inspo,
.tones {
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.inspo {
  background-color: var(--muted-color);
}

ul.tones {
  background-color: #8199948f;
}
.pink {
  padding: 0.5rem 1rem;
  border-radius: 15px;
  color: var(--accent-color);
}

.caption {
  color: var(--muted-color);
  font-style: italic;
  margin-top: 8px;
  font-size: 14px;
}
.inspo-img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.inspo-img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.footer {
  margin-top: 20px;
}

.notes {
  background-color: var(--wool);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: light;
}

.concept-notes {
  font-size: 1.2rem;
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  border-radius: 12px;
}
/* ================================
   05 - CONTACT
================================ */
.small {
  font-family: var(--text-font-family);
  font-size: 0.875em;
}
.contact-email,
.contact-github,
.contact-linkedin {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Email button */
.contact-email {
  background-color: #333;
  color: white;
}

/* GitHub button */
.contact-github {
  background-color: rgb(109, 11, 122);
  color: white;
}

/* LinkedIn button */
.contact-linkedin {
  background-color: #0a66c2;
  color: white;
}

/* Hover effects */
.contact-email:hover,
.contact-github:hover,
.contact-linkedin:hover {
  opacity: 0.85;
}
footer {
  padding: var(--spacing);
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--button-shadow);
  text-align: center;
  margin-top: 200px; /* default for mobile/tablets */
  width: 100%;
}
