@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');

body {
  background: linear-gradient(120deg, #eaf0ff, #fff);
  font-family: 'Inter', sans-serif;
  margin: 0;
  color: #222;
}

header {
  text-align: center;
  background: #000;
  color: #fff;
  padding: 1rem 0;
  border-bottom: 4px solid #00a2ff;
  font-family: 'Arimo', sans-serif;
  box-shadow: 0 0 10px #00a2ff;
}

.container {
  display: flex;
  max-width: 1100px;
  margin: 2rem auto;
  gap: 2rem;
  padding: 0 1rem;
}

.sidebar {
  position: relative;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-right: 20px;
}

.sidebar-card .card-header {
  background-color: rgba(255, 135, 65, 0.4);
  color: #000; /* keeps text readable */
  font-weight: bold;
  border-bottom: 1px solid rgb(252, 141, 94); /* optional subtle border */
  border-radius: 0.5rem 0.5rem 0 0; /* matches card rounding */
}

.sidebar-card {
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 20px;
}

.sidebar img.card-img-top {
  margin-top: 10px;
  border-radius: 10px;
}

.bio-short {
  background: #000;
  position: relative;
  color: #fff;
  border: 2px solid #ccc;
  padding: 1rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.GeneratedMarquee {
font-size:16px;
line-height:1.3em;
color:#FFFFFF;
background-color:#000000;
padding:1.5em;
}

.profile-name {
  font-family: "Sacramento", cursive;
  transform: rotate(-1deg);
  font-size: 2.6rem;
  font-weight: 400;
  color: #1e1e1e;
  margin-bottom: 4px;
  line-height: 1;

  /* subtle polish */
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.6);
}

.main-content {
  flex: 1;
    padding: 12px 12px 12px 25px;
    background: #ffffff;
  border-radius: 8px;
  color: #000; 
  font-family: 'Arimo', sans-serif;
}

/* Tab buttons */
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

/* Tab content sections */
/* Content box styled like inside a folder */
.tab-content {
    display: none;
    width: 100%;
    min-width: 0;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-style: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tab-content.active {
  display: block;
}

.achievement-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.achievement {
    padding: 14px;
    background: #fff7df;
    border: 1px solid #e6d39d;
    border-left: 4px solid #ff8751;
}

.achievement strong {
    display: block;
    color: #e34f1c;
    font-size: 1.45rem;
    line-height: 1;
}

.achievement span {
    display: block;
    margin-top: 6px;
    color: #5e5140;
    font-size: 0.78rem;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.eyebrow {
    margin: 0 0 4px;
    color: #e34f1c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-pill,
.project-type {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid #9ed4e8;
    border-radius: 999px;
    background: #e7f8ff;
    color: #075c7c;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-pill.warm {
    border-color: #f3bf9d;
    background: #fff0e8;
    color: #a8451f;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.filter-button {
    border: 1px solid #cbb98e;
    border-radius: 999px;
    background: #fffaf0;
    color: #4a3d2c;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    padding: 7px 12px;
}

.filter-button:hover,
.filter-button.active {
    background: #ff8751;
    border-color: #e34f1c;
    color: #fff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 220px;
    padding: 16px;
    border: 1px solid #d9cba9;
    background: linear-gradient(145deg, #fffdf8, #fff6df);
    box-shadow: 3px 3px 0 rgba(207, 166, 105, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px) rotate(-0.5deg);
    box-shadow: 5px 7px 0 rgba(207, 166, 105, 0.3);
}

.project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-number {
    color: #e34f1c;
    font-size: 1.5rem;
    font-weight: 800;
}

.project-card h3 {
    margin: 20px 0 8px;
    font-size: 1.1rem;
}

.project-card p,
.update-item p {
    color: #5e5140;
    font-size: 0.88rem;
    line-height: 1.5;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 14px;
}

.tag-list span {
    padding: 3px 7px;
    background: #dff4f8;
    color: #176578;
    font-size: 0.7rem;
}

.updates-list {
    margin-top: 20px;
}

.update-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px dashed #d9cba9;
}

.update-item time {
    color: #e34f1c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.update-item h3 {
    margin: 0 0 5px;
    font-size: 1.05rem;
}

.update-item p {
    margin: 0;
}

/* File Folder Tab Look */
.nav-tabs {
    border-bottom: none !important; /* remove default line */
    margin-bottom: 1rem;
}

.nav-tabs .nav-link {
    background: #f6e7c1; /* light manila folder color */
    border: 1px solid #d7c79e;
    border-bottom: none; /* let active tab look connected to content */
    color: #4a3d2c;
    font-weight: 600;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 10px 18px;
    margin-right: 6px;

    /* Slight retro texture via shadow */
    box-shadow: 0 2px 3px rgba(0,0,0,0.08);
    transition: all 0.2s ease-in-out;
}

/* Hover: slight lift */
.nav-tabs .nav-link:hover {
    background: #f3dfad;
    color: #000;
    transform: translateY(-2px);
}

/* Active Tab = strongest folder edge */
.nav-tabs .nav-link.active {
    background: #fdfdfd;
    border-color: #d1c199;
    border-bottom: 1px solid transparent;
    color: #000;
    box-shadow: 0 3px 4px rgba(0,0,0,0.10);
    transform: translateY(0);
}

.clancy-blurbs {
    flex: 1;
    padding: 12px 12px 12px 25px;
    background: #ffffff;
    border-radius: 8px;
    color: #000;
    font-family: 'Arimo', sans-serif;
}

.blurbs-heading {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin: 2px 0 18px;
    padding: 10px 14px 14px;
    background: rgba(231, 248, 255, 0.68);
    border-radius: 7px;
    border-bottom: 3px solid #00a2ff;
    box-shadow: 0 3px 0 #ff8751;
    text-align: center;
}

.blurbs-heading > div {
    width: 100%;
    text-align: center;
}

.blurbs-kicker {
    margin: 0 0 3px;
    color: #e34f1c;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: left;
}

.blurbs-heading h2 {
    margin: 0;
    color: #000;
    font-family: 'Caveat', cursive;
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 0.8;
}

.blurbs-signature {
    display: inline-block;
    transform: rotate(-2deg);
}

.blurbs-pattern {
    display: inline-block;
    color: transparent;
    background-color: #f2e5c5;
    background-image:
        radial-gradient(ellipse 13px 9px at 12% 20%, #080808 0 58%, transparent 68%),
        radial-gradient(ellipse 10px 16px at 72% 25%, #080808 0 56%, transparent 67%),
        radial-gradient(ellipse 16px 10px at 40% 76%, #080808 0 59%, transparent 68%),
        radial-gradient(ellipse 8px 7px at 92% 82%, #080808 0 56%, transparent 67%),
        radial-gradient(ellipse 6px 5px at 60% 10%, #342f25 0 54%, transparent 66%);
    background-size: 38px 32px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(1px 2px 1px rgba(74, 61, 44, 0.28));
}

@media (max-width: 480px) {
    .blurbs-heading {
        align-items: center;
    }
}

    .profile-pic img {
        width: 60%;
        height: auto;
        border-radius: 1rem;
        border: 3px solid #00a2ff;
        box-shadow: 0 0 8px #7f8cff;
    }

    .status-icon {
        width: 80px;
        height: auto;
        margin: 6px;
    }

    .online-status {
        display: flex;
        align-items: center;
        justify-content: flex-start; /* left-align inside the card */
        margin-top: 8px; /* space from the profile pic */
        padding-left: 10px; /* optional, adds a little breathing room */
    }

    .music-player::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4); /* dark overlay for contrast */
        border-radius: 12px;
        z-index: 0;
    }

    .music-player * {
        position: relative;
        z-index: 1;
    }

    .music-player {
        background-image: url("assets/images/music-player-bg.png");
        background-size: cover; /* fills the box without stretching */
        background-position: center; /* centers image */
        background-repeat: no-repeat;
        position: relative;
        border-radius: 12px;
        padding: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #00ff66;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    }

    .music-info {
        font-size: 12px;
        font-weight: bold;
    }

    .controls {

        display: flex;
        align-items: center;
        gap: 6px;
    }

    #playBtn {
        background: none;
        border: none;
        color: #00ff66;
        font-size: 16px;
        cursor: pointer;
    }

    .equalizer {
        display: flex;
        align-items: flex-end;
        gap: 2px;
        height: 14px;
        flex-grow: 1;
    }

    .bar {
        width: 3px;
        height: 3px;
        background: #00ff66;
        border-radius: 2px;
        animation: bounce 0.5s infinite;
        animation-play-state: paused; /* Start paused */
    }

    .bar:nth-child(2) {
        animation-delay: 0.1s;
    }

    .bar:nth-child(3) {
        animation-delay: 0.2s;
    }

    .bar:nth-child(4) {
        animation-delay: 0.3s;
    }

    .bar:nth-child(5) {
        animation-delay: 0.4s;
    }

    @keyframes bounce {
        0%, 100% {
            height: 3px;
        }
        50% {
            height: 12px;
        }
    }

    .music-player audio {
        width: 100%;
        outline: none;
        border-radius: 4px;
    }

    .content-panel {
        background: rgba(255, 255, 255, 0.75);
        border-radius: 15px;
        padding: 20px;
        backdrop-filter: blur(4px);
        margin-bottom: 40px;
    }

    /* Make sure your content is above video */

    .content-wrapper {
        position: relative;
        z-index: 1;
    }

    /* Fullscreen video behind content */

    #bg-video {
        position: fixed; /* Stays in place */
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        object-fit: cover; /* Fills screen without stretching */
        z-index: -1; /* Behind all content */
    }

    .video-header {
        position: relative;
        width: 100%;
        height: 100px; /* adjust height as needed */
        overflow: hidden;
    }

    #header-video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover; /* ensures the video fills the header without distortion */
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .header-content {
        position: relative;
        z-index: 1; /* sits above the video */
        color: #ffffff;
        text-align: center;
        padding-top: 80px; /* adjust for vertical alignment */
        text-shadow: 1px 1px 4px #000; /* improves readability over video */
    }

    h1, h2, h3 {
        font-family: 'Arimo', sans-serif;
    }

    a {
        color: #0070f3;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    ul {
        list-style: none;
        padding: 0;
    }

    footer {
        text-align: center;
        font-size: 0.9rem;
        padding: 1rem;
        color: #666;
        border-top: 1px solid #ddd;
    }

    /* --- Top 5 Friends Section --- */

    .top5-wrapper .card-header {
        text-align: left;
        font-size: 1.2rem;
        background: rgba(255, 135, 65, 0.4);
        backdrop-filter: blur(4px);
        border-bottom: 1px solid rgba(246, 84, 9, 0.82);
    }

    /* Flex layout for 5 across */

    .top5-container {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        padding: 15px;
        flex-wrap: wrap;
    }

    /* Each item */

    .top5-friend {
        width: calc(20% - 10px); /* five across */
        text-align: center;
        position: relative;
    }

    /* Square images */

    .top5-friend img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 6px;
        border: 2px solid white;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /* Subtle hover zoom */

    .top5-friend:hover img {
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(0, 150, 255, 0.5);
    }

    /* Tagline below the image */

    .top5-tagline {
        margin-top: 6px;
        font-size: 0.75rem;
        background: rgb(252, 141, 94);
        color: white;
        padding: 3px 6px;
        border-radius: 5px;
        opacity: 0;
        transition: opacity 0.2s ease;
        display: inline-block;
    }

    /* Tagline appears on hover */

    .top5-friend:hover .top5-tagline {
        opacity: 1;
    }

    @media (max-width: 991px) {
        .project-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
        .achievement-strip,
        .project-grid {
            grid-template-columns: 1fr;
        }

        .section-heading {
            flex-wrap: wrap;
        }

        .top5-friend {
            width: calc(33.33% - 10px); /* 3 per row */
        }
    }

    @media (max-width: 480px) {
        .update-item {
            grid-template-columns: 1fr;
            gap: 6px;
        }

        .top5-friend {
            width: calc(50% - 10px); /* 2 per row */
        }
    }
