
.text-purple {
  color:  rgba(145, 116, 255, 1);
  text-shadow: 10px 10px 15px  rgba(38, 0, 141, 0.4);
}

html, body {
  height: 100%; /* Ensure html and body take full viewport height */
  margin: 0; /* Remove default body margin */
}

body {
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  background:#2e2933;
  color: var(--bs-gray-100);
  overflow-x: hidden;
}

.wrapper {
  display: flex; /* Enable Flexbox on the main container */
  flex-direction: column; /* Stack children vertically */
  min-height: 100vh; /* Ensure wrapper takes at least full viewport height */
}

main {
  flex-grow: 1; /* Allow main content to expand and fill available space */
}

#p5-background {
  justify-self: center;
  position: fixed;   
  inset: 0;          
  width: auto;
  height: 100vh;
  z-index: -1;       
  overflow: hidden;
}

hr {
  border: 3px solid #523d66;
}

#katie-image {
  width: 35vh;
  height: auto;
  margin: auto;
  padding:0px;
  border: 8px solid rgba(145, 116, 255, 1);
  margin-bottom: 3rem;
  box-shadow: 0 20px 40px rgba(38, 0, 141, 0.4);
  justify-self: center;
}

.navbar {
    color: var(--bs-gray-100);
    width: 100%;
    height: 4rem;
    margin-bottom: 1rem;
    padding: 0; /* IMPORTANT */
    background: rgba(6, 0, 37, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(145, 116, 255, 0.7);
    z-index: 5;
    transition: all 0.3s ease;
}



#footer{
  height:3rem;
  padding: 0; 
  border-bottom: 0px;
  border-top: 2px solid rgba(145, 116, 255, 0.7);
  margin-top: 1rem;
  margin-bottom: 0rem;

}

.navbar .container-fluid{
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 1rem;
  padding-left: 2rem;
}

.navbar-brand {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 !important;
  color:inherit;
  font-weight: bold;
  transition: all 0.3s ease;
}
.navbar-brand:hover {
  color:rgba(145, 116, 255, 0.7);
}

.navbar-btn {
  color: var(--bs-gray-100);
  border: rgba(166, 120, 225, 0.2) 2px solid;
  border-radius: 20px;
  font-size: calc(0.01 * var(--bs-navbar-padding-y) + 1rem);
  text-transform: uppercase;
  letter-spacing: .9px;
  transition: all 0.3s ease;
  height: 80%;                 /* force button to match navbar height */
  padding: 5px 1rem !important;    /* remove vertical padding, keep horizontal */
  display: flex;                 /* allow vertical centering */
  align-items: center;           /* center text */
  justify-content: center;
  margin-right: 1rem;
}
.navbar-btn:hover {
  border:  rgba(145, 116, 255, 0.7) 2px solid;
}

.home{
  height: 100vh;
  display: flex;
  position: relative;
  justify-self: center;
}
#home-name {
  font-size: 3rem;
  font-weight: 900;
  margin: auto;
  margin-bottom: 3rem;
  box-sizing: border-box;
}

.container {
  justify-content: center;

}
#home-content {
  text-align: center;
  z-index: 0;
  max-width: 1000px;
  padding: 0 2rem;
}
.static-card {
  background: linear-gradient(150deg,  rgba(145, 116, 255, 0.9), rgba(78, 58, 255, .7));
  border: 0px solid transparent;
  border-radius: 2rem;
  display:inline-block;
  padding: 3rem 4.5rem;
  margin: 0rem auto;
  width: auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(38, 0, 141, 0.3);
}
#static-title {
  font-size: 2.5rem;
  font-weight: 900;

}
#static-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.social-btn {
  background: rgba(166, 120, 225, 0.2);
  border: 2px solid transparent;
  color: #fff;
  margin: auto;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
}
.social-btn:hover{
  background: rgba(166, 120, 225, 0.5);
}

@media (min-width: 1400px) {

    #home-name {
        font-size: 4rem;
    }

    #katie-image {
        width: 45vh;
        height: auto;
        object-fit: cover;
    }

    #static-title {
        font-size: 3rem;
    }

    #static-subtitle {
        font-size: 2rem;
    }

    .social-btn {
        font-size: 1.1rem;
        padding: 0.8rem 1.6rem;
    }

    .static-card {
        padding: 3rem;
    }
}

@media (min-width: 1600px) {

    #home-name {
        font-size: 4.8rem;
    }

    #katie-image {
        width: 50vh;
        height: auto;
        object-fit: cover;
    }

    #static-title {
        font-size: 3.8rem;
    }

    #static-subtitle {
        font-size: 2.8rem;
    }

    .social-btn {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .static-card {
        padding: 3.5rem;
        max-width: 80%;
        margin: 0 auto;
    }
}

.section {
  padding-top: 2rem;
  position: relative;
  
}

.section-title-box{
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  display: inline-block;
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1rem;
  padding: 2rem 10rem; /* add spacing around text */
  background: linear-gradient(180deg, rgba(78, 58, 255, .9), rgba(145, 116, 255, 0.9));
  border-radius: 1rem;
  transform:skew(-10deg)
}
.section-title span {
  display: inline-block;
  transform: skew(10deg); 
}

.grid {
  width: 100%;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
  perspective: 1000px;
}

.home-card {
  background: rgba(145, 116, 255, 0.7);
  border-radius: 20px;
  color:#fff;
  position: relative;
  min-width: 400px;
  padding: 2rem;
  transition: all 1s ease;

}
.home-card:hover {
  background: rgba(145, 116, 255, 0.9);
  backdrop-filter: blur(50px);
  transform: translateY(-10px);
  box-shadow: 10px 10px 30px  rgba(65, 39, 138, 0.3);
  transition: all .5s ease;
}

@media (max-width: 1200px) {
  .section-title {
    font-size: 3.2rem;
    padding: 2rem 9rem;
  }

  .home-card {
    padding: 2.5rem;
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .home-card {
    padding: 2rem;
  }

    .section-title {
    font-size: 2.5rem;
    padding: 2rem 7rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 5rem 1.5rem;
  }

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

  .section-title {
    font-size: 2.5rem;
    padding: 2rem 6rem;
  }

  .home-card {
    padding: 1.5rem;
    font-size: 0.95rem;
  }
}

.home_card-title{
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.home-card-subtitle {
  font-style: italic;
  margin-bottom: 0.5rem;
}
.home-card-body{
  line-height: 1.8rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}
.spec-tag {
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* Gallery page styling */
#page_title {
  padding: 2rem 1rem 1.5rem;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-align: center;
}

#page_title span {
  background: linear-gradient(135deg, #9174ff, #6b4fe0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.gallery {
  width: 100%;
  columns: 4 300px; /* masonry magic: column-count + min-width */
  column-gap: 1.5rem;
  perspective: 1000px;
}

.gallery-card {
  background: #d29aff;
  color: #111;
  position: relative;
  min-width: 200px;
  break-inside: avoid;         /* prevents cards from splitting across columns */
  margin-bottom: 16px;       /* vertical gap between cards */
  display: inline-block;       /* required for break-inside to work reliably */
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  transition: all 1s ease;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
}
gallery-card:hover {
  transform: translateY(-4px) scale(1.01);
}
.gallery-card img{
  width: 100% !important;
  height: auto !important;
  display: block;
  max-width: 100%;
  border-radius: 0;
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.25s ease;
  border-radius: 16px;
  pointer-events: none;
}

.gallery-card:hover::after {
  background: rgba(0,0,0,0.08);
}

.gallery-card-body {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 14px;
  text-align: left;
  color: #111;
  margin: 0;
  letter-spacing: -0.01em;
}

/*About Page Stylings*/

.about-panel {
  display: block;
  height: 100%;
  padding: 1rem;
  background: rgba(20, 0, 60, 0.25);
  border: 1px solid rgba(200, 160, 255, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  font-size: 1.2rem;
}

.about-section-title {
  color: #e1cffc;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(150, 110, 255, 0.4);
}

.about-section-subtitle {
  color: #c09eff;
  margin-top: 20px;
}

.about-list li {
  margin-bottom: 0.4rem;
  color: #e5daff;
  list-style: none;
  padding-left: 1.2rem;
  position: relative;
}

.about-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #caaaff;
  text-shadow: 0 0 6px rgba(180, 120, 255, 0.6);
}

/* Image frame should match the natural column height */
.about-img-frame {
    width: 100%;
    height: 100%;

    display: block;
    overflow: hidden;

    align-items: center;
    justify-content: center;

    border-radius: 18px;
   

    background: rgba(30, 0, 70, 0.25);
    border: 2px solid rgba(190, 170, 255, 0.2);
    box-shadow: 0 12px 32px rgba(60, 0, 130, 0.3);
    backdrop-filter: blur(3px);
}

/* Image scales to the text panel height while keeping aspect ratio */
.about-photo {
max-height: 100%;   /* never exceed the text panel height */
    width: 100%;        /* scale down proportionally */
    height: auto;       /* SHRINK only */
    object-fit: cover;  /* crop instead of stretching */
    display: block;
}


/* Mobile: image stacks correctly and shrinks naturally */
@media (max-width: 768px) {
    .about-img-frame {
        height: auto;
    }
    .about-photo {
        width: 100%;
        height: auto;
    }
    .about-panel{
    }
}

@media (max-width: 1400px) {
    .about-img-frame {
        height: auto;
    }
    .about-photo {
        width: 100%;
        height: auto;
    }
    .about-panel{
        font-size: 1rem;
    }
}