body {
    margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #384C65;
  font-family: "seawashed", sans-serif;
  color: var(--color-white);
  scrollbar-width: none !important;
  max-width: 100%;
}

section {
    font-size: 1.1em;
    text-align: left;
}

a {
    color: white;
    text-decoration: none;
}



.test_link a {
    font-size: 1.25rem;
    background: #121524;
    padding: 1rem;
    border: 1px solid white;
    border-radius: 10px;
    font-family: "brick";
}


@media (min-width: 1200px) { 
    .test_link a {
        font-size: 1.75rem;
    }
}

.added_on_excite {
    color: var(--color-slate);
    font-family: "brick";
    font-size: 1.25rem;
    
}
/* =========================
   My Websites (tiny list)
   ========================= */
.my-websites{
  width: min(1100px, 92vw);
  margin: 0rem auto; 
  display: grid;
  gap: 1rem;
}

.website-card{
  border-radius: 28px;
  overflow: hidden;
}

.website-link{
  display: grid;
  grid-template-columns: auto 1fr;

  gap: 1rem;
  align-items: center;

  padding: 1rem 1.1rem;
  border-radius: 28px;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(18, 21, 36, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  text-decoration: none;
  color: inherit;

  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.website-link:hover{
  transform: translateY(-1px);
  background: rgba(18, 21, 36, 0.72);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.website-avatar{
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

@media (min-width: 900px){
  .website-avatar{
    width: 200px;
    height: 200px;
  }
  
  .project-side-desc {
    padding: 1rem;
}

}


.website-title{
  margin: 0;
  font-family: "loubag", cursive;
  font-size: 1.6rem;
  line-height: 1.1;
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.website-desc{
  margin-top: .5rem;
  margin-bottom: .5rem;
  font-family: "seawashed", serif;
  font-size: 1.25rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
  max-width: 80ch;
}

.website-tags{
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}

.website-tags .tag{
  font-family: "loubag", serif;
  font-size: .95rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
}

/* === BIG, PROMINENT MOBILE CARDS === */
@media (max-width: 700px){
  .my-websites{
    width: min(1100px, 94vw);
    gap: 1.1rem;
  }

  .website-link{
    grid-template-columns: 1fr;     /* stack */
    gap: .85rem;
    padding: 1rem;
    border-radius: 22px;

    /* more “card” presence */
    background: rgba(18, 21, 36, 0.72);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  }

  .website-avatar{
    width: 100%;
    aspect-ratio: 1 / 1;   /* stays square */
    height: auto;

    max-height: 200px;     /* 👈 hard stop */
    max-width: 200px;      /* keeps it square-centered */

    object-fit: cover;
    border-radius: 16px;

    margin-inline: auto;   /* center the square */
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 14px 35px rgba(0,0,0,0.4);
  }

  .website-title{
    font-size: 1.25rem;
    margin: .1rem 0 0;
    padding: 0;
  }

  .website-desc{
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: none;

    /* prevent the “giant essay” feeling on mobile */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .website-tags .tag{
    font-size: .75rem;
    padding: .32rem .7rem;
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
  }

  /* nicer tap feedback (since hover isn't a thing on mobile) */
  .website-link:active{
    transform: scale(0.99);
  }
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
  text-align: center;
}

.section-title {
  font-family: "loubag", cursive;
  font-size: 3em;
  font-weight: normal;
  color: var(--color-accent-light);
  margin-bottom: 0em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.graphic_design_title {
font-family: "loubag", cursive;
  font-size: 2.5em;
  font-weight: normal;
  color: var(--color-accent-light);
  margin-bottom: 0em !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
  text-align: center !important;
}

.section-intro {
  font-size: 1.5rem;
  font-family: "brick";
  color: var(--color-light);
}



.portfolio-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  /* important changes: */
  align-items: stretch;   /* let children be full-width */
  width: 100%;
  margin: 0 auto;         /* center the whole block on large screens */
}

/* Case study stays wide */
.project-block.case-study {
  width: 60%;
  margin: 0 auto;
}

/* Wrapper holds the small cards */
.project_block_card_wrapper {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;       /* so they stack on small screens */
  width: 100%;
}


/* === CASE STUDY (full width) === */
.project-block.case-study {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  background: rgba(18, 21, 36, 0.55); /* darker, richer */
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  width: 60%;
  margin: 0em auto;
}

@media (min-width: 1200px) {
.build_description {
    max-height: 750px;
    overflow: scroll;
    scrollbar-width: none; 
}
}
/* === SIDE PANEL INSIDE CASE STUDY === */
.project-side {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.project-block.case-study img {
  width: 100%;
  background: var(--color-dark);
  border-radius: 15px;
  background-size: contain;
}

/* TEXT STYLES */
.project-main section {
  margin-bottom: 1.5rem;
}

.project-main h2 {
  font-family: "loubag", cursive;
  font-size: 1.75em;
  text-align: center;
  margin: 1em!important;
  padding: 0em !important;
  color: var(--color-accent-light);
  font-weight: normal;
}

.project-main h3 {
  font-family: "loubag";
  font-size: 1.5em;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.project-main p {
    font-size: 1.5rem;
  line-height:2rem !important;
  color: var(--color-light);
    font-family: "brick";
      text-align: center;
}

.tech-stack-title,
.features-title {
  font-family: "loubag";
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--color-accent-light);
  text-align: center;
}

.tech-stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: .5em auto;
}

.tech-stack-list span {
  background: var(--color-medium);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
    font-size: 1.25em;
  font-family: "brick";
  color: var(--color-light);
  backdrop-filter: blur(8px);
  
}

.features-list {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-white);
  list-style: disc;
  text-align: left;
  margin: 0;
}

.features-list li {
  margin: 0.5em 0;
  font-family: "seawashed";
  font-size: 1em;
}


@media (min-width: 1200px) {

.features-list li { 
    font-size: 1.15rem;
}

.project-main p {
font-size: 2rem;
}

}

/* === CARDS (Projects 2 + 3) === */

.project_block_card_wrapper {
    display: flex;
}
.project-block.card {
display: inline;
  gap: 1.5rem;
  background: rgba(18, 21, 36, 0.65); 
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1rem;
}

@media (min-width: 1200px) {
    
    .project-block.card {
          max-width: 40%;
    }
    
    .section-intro {
        
        font-size: 2rem;

}

.description_link {
    font-size: 1.75rem;
}


}
.project-block.card img {
  width: 90%;
  max-width: 1000px;
  max-height: 500px;
  border-radius: 12px;
  object-fit: cover;
}

.project-block.card > div {
  display: flex;
  flex-direction: column;
}

.project-block.card h2 {
  font-size: 1.75rem;
  font-family: "loubag";
  margin: 1rem !important;
  padding: 0rem !important;
  color: var(--color-accent-light);
}

.project-block.card p {
  font-size: 1.05rem;
  line-height: 1.6;
  font-family: "seawashed";
  color: var(--color-light);
}

/* === BUTTONS === */
.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent-light);
  background: rgba(255,255,255,0.08);
  font-family: "brick";
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.btn:hover {
  background: var(--color-accent-light);
  color: var(--color-dark);
}

/* === CAROUSEL === */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.carousel-item.active {
  display: block;
  opacity: 1;
  position: relative;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
  gap: 0.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  height: 100%;
  width: 100% !important;
}

.modal.show { display: flex; }

/* Hide scrollbars inside modal content */
.modal-content {
  overflow: hidden; /* no scroll on the wrapper */
}

/* Target iframe scrollbars */
.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;

  /* Hide scrollbar (cross-browser) */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.modal-content iframe::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.modal-content {
  position: relative;
  background: rgba(18,21,36,0.85);
  border-radius: 20px;
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  animation: modalPop 0.35s ease;
  scrollbar-width: none !important;
  border: none !important;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 2rem;
  color: var(--color-white);
  cursor: pointer;
  z-index: 2;
}

.img-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
}

.img-modal.show {
  display: flex;
}

.img-modal-img {
  max-width: min(1100px, 95vw);
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.img-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.img-modal-close:hover {
  background: rgba(255,255,255,0.25);
}


/* === Cute aesthetic arrow buttons === */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: 
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover interaction */
.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.12);
}

/* Click press effect */
.carousel-prev:active,
.carousel-next:active {
  transform: translateY(-50%) scale(0.96);
}

/* Positioning */
.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

/* === Graphic Design Marquee === */

.design-marquee-section {
}

.section-subtitle {
  font-family: "loubag", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
}

.section-intro.small {
  font-size: 0.95rem;
  max-width: 46rem;
}

/* The marquee wrapper */
.design-marquee {
  margin-top: 0rem !important;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1.5rem 0;
}

/* Optional soft vignette mask on edges */
.design-marquee::before,
.design-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 4rem;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Track that actually scrolls */
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}

.design-marquee:hover .marquee-track {
  animation-play-state: paused; /* pause when hovered so people can actually look */
}

.marquee-track img {
  display: block;
  flex: 0 0 auto;
  /* responsive height: scales with viewport, never too tiny or huge */
  height: clamp(70px, 22vw, 160px);
  border-radius: 1.25rem;
  object-fit: cover;
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.description_link {
    background-color: #121524;
    padding: .5em;
    font-family: "brick";
    font-size: 1.25rem;
    border-radius: 10px;
    text-align: center !important;
    border: 1px solid white;
}

/* tighten spacing + padding on smaller screens */
@media (max-width: 900px) {
  .design-marquee {
    padding: 1rem 0;
  }

  .marquee-track {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .design-marquee {
    padding: 0.75rem 0;
  }

  .marquee-track {
    gap: 0.75rem;
  }
}


.marquee-track img:hover {
  transform: translateY(-4px) scale(1.03);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


@media (max-width: 600px) {
  .section-subtitle {
    font-size: 1.6rem;
  }
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    
  .project-block.case-study {
    grid-template-columns: 1fr;
    width: 95%;
    padding: 0.5em;
  }
  
  .project-block.card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  
  .project-block.card img {
    max-width: 100%;
    margin-bottom: 1rem;
  }


.section-title {
    font-size: 1.75em;
}

.graphic_design_title {
font-size: 1.75em;
}




}

