/* ++++++++++++++++++
page fade transitions
+++++++++++++++++++*/

/* Page fade transition */
.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Start hidden */
body {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Fade in when loaded */
body.fade-in {
    opacity: 1;
}

/* Fade out when navigating */
body.fade-out {
    opacity: 0;
}



/* global stypings (mr worldwide mueheh) */
body {
    font-family: "Poppins", cursive;
    /* text-transform: lowercase; */
    font-size: 0.85rem;
    letter-spacing: 1px;
    color:#696969;
    font-weight: 300;
    margin-bottom: 0.5rem;
    z-index : 0;
}

/* -----------------------------
        Navbar
  ----------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 124px;
    /* padding: 20px 40px; */
    /* font-size: 76px; */
    margin-right: 5cap;
}

.logo {
    margin-left: 5cap;
    height: 100px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    /* font-weight: 700; */
    font-size: 20px;
    color: #0049D1;
    text-decoration: none;
    border-radius: 16px;
    transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
}

.nav-links a:hover {
    background-color: #0049D1;
    color: white;
}

.cta {
    background-color: #0049D1;
    color: white;
    padding: 10px 24px;
    font-size: 16px;
    /* font-weight: 700; */
    border-radius: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

/* ==============
music widget hehe
=============== */

.connections{
    display: flex;
    justify-content:space-evenly;
    align-items: flex-start;
    padding: 20px 5vw;
    color: #444;
    font-size: 0.9rem;
    flex-wrap: wrap
}

.spotify-embed {
    max-width: 500px;;
}

/* ~~~~~~~~~~~~~~~
background images.     
~~~~~~~~~~~~~~~~~~ */

/* starting */
.starting-background {
    background-size: contain;
    background-image: url("/assets/starting_blank.png");
    /* background-position: center; */
    background-repeat: no-repeat;
    /* border: solid red; */
    width: 100vw;
    background-position: top center;
    background-size: 100% auto;
    /* shows full-width torn edge */


}

/* middle with repeat bacground */
.pattern-bgrnd {
    background-image: url("../assets/full-blank.png");
    background-repeat: repeat;
    background-color: #f8f8f8;
    min-height: 100vh;
}


/* final */
.penultimate-section {
    background-image: url("../assets/ending_blank.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 100vw;
    background-position: bottom center;
    background-size: 100% auto;
}


/* ~~~~~~~~~~~~~
doodle overlays!
~~~~~~~~~~~~~~*/
.doodle-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* behind everything else */
    pointer-events: none;
    /* so users can click through */
    overflow: hidden;
}

.doodle-overlay img {
    position: absolute;
    opacity: 0.1;
    /* adjust how strong the doodle looks */
    width: auto;
    height: 100px;
    object-fit: contain;
    pointer-events: none;
}

.doodle.parallax {
    position: absolute;
    opacity: 0.1;
    /* ← make it visible */
    width: 300px;
    /* ← make it big */
}



/* You can place each doodle wherever you want on the page: */
.doodle-overlay img:nth-child(1) {
    top: 10%;
    left: 5%;
}

.doodle-overlay img:nth-child(2) {
    bottom: 10%;
    right: 10%;
}

.doodle {
    position: absolute;
    width: 120px;
    opacity: 0.08;
}

/* LEFT SIDE */
.doodle.left {
    left: 300px;
}

.doodle.left.top {
    top: 100px;
}

.doodle.left.bottom {
    top: 500px;
    left: 8vh;
    /* adjust based on scroll height */
}

/* RIGHT SIDE */
.doodle.right {
    right: 0;
}

.doodle.right.top {
    top: 300px;
}

.doodle.right.top.fish{
    width:190px;
    height:auto;
    right:8vh;
}
.doodle.left.top.mac {
    width: auto;
    height: 100px;
}

.doodle.left.bottom.hmmm {
    width: auto;
    height: 200px;
}


/* position: absolute;
top: 300px;
right: 1vw;
]width: 120px;
opacity: 0.08;
transform: rotate(5deg);
optional: lil flair */

.doodle.right.bottom {
    top: 1600px;
}


/* ####################
intro paragraph styling
###################### */
.intro {
    flex: 1;
    font-size: 16px;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    padding: 0 7vw;
    /* ← adds space on left/right side */
    margin-top: 3rem;
    /* optional: push it down */
    z-index: 1;
    /* make sure it's above background doodles */
}

/* ===========
FOOTERSTYLING
=============*/

.footer-daisy {
    width: 100px;
    /* or try 80px */
    height: auto;
    margin: 0 auto 20px;
    display: block;
    opacity: 0.9;
    /* optional: make it more subtle */
}

.minimal-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 5vw;
    color: #696969;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.minimal-footer a {
    color: #696969;
    text-decoration: none;
    margin-left: 16px;
    display: inline-block;
}

.minimal-footer a:hover {
    text-decoration: underline;
}

.footer-left {
    max-width: 60%;
}

.footer-update {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 4px;
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

/* %^%^&*&^%$#$%^&*(
Resume section mueheh
#$%^&*()(*&^%$#@#$ */
.experience-wrapper {
    display: flex;
    justify-content: center;
    /* centers the full block */
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.experience-item {
    position: relative;
    display: inline-block;
    overflow: hidden; /* ⬅ keeps overlay inside */
    border-radius: 12px; /* match your image’s radius */
}
.experience-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    /* ⬅ match container */
    transition: transform 0.3s ease-in-out;
    display: block;
}
.experience-item-overlay {
    font-family:Gaegu;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    /* ⬅ stack items vertically */
    justify-content: center;
    /* centers vertically */
    align-items: center;
    /* centers horizontally */
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 1rem;
    /* adds some breathing room */
    box-sizing: border-box;
}

/* Make sure text does not overflow */
.experience-item-overlay h3,
.experience-item-overlay p {
    margin: 5px 0;
    max-width: 85%;
    /* Ensures text does not touch edges */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
}

/* Show overlay on hover */
.experience-item:hover .experience-item-overlay {
    opacity: 1;
}

/* Slight zoom effect */
.experience-item:hover img {
    transform: scale(1.05);
}

.experience-images {
    flex: 1;
    max-width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 1rem;
    padding-left: 4rem;
}

.experience-images .tile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Make some tiles bigger for the collage vibe */
.experience-images .experience-item.tall {
    grid-row: span 2;
}

.experience-images .experience-item.wide {
    grid-column: span 2;
}

/* Make sure videos behave like images */
.experience-images video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.experience-section {
    flex: 1;
    max-width: 50%;
    padding-left: 2rem;
    /* nudges it away from image side */
}
/* Adjust the experience section for side layout */
/* .experience-section {
    flex: 1;
    max-width: 600px;
    padding: 1rem;
} */


.experience-section {
    font-family: 'Poppins', sans-serif;
    max-width: 720px;
    margin-left:em;
    padding: 2rem 1rem;
}

.experience-section h2 {
    font-size: 1 rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #696969;
}

.experience-entry {
    margin-bottom: 2rem;
}

.role {
    font-size: 1 rem;
    font-weight: 600;
    color: #696969;
    margin: 0;
}

.org {
    font-weight: 400;
    font-size: 1 rem;
    color: #696969;
    margin: 0.3rem 0 0.4rem;
}

.project-date {
    font-family: 'poppins', monospace;
    font-size: 1 rem;
    color: #696969;
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}
/* 
.project-date .project {
    flex-shrink: 0;
} */

.project-date .dots {
    flex: 1;
    height: 1px;
    border-bottom: 1px dotted #696969;
    /* margin: 0 0.5rem; */
    transform: translateY(-2px);
}
/* 
.project-date .date {
    flex-shrink: 0;
} */

@media screen and (max-width: 768px) {
    .experience-wrapper {
        flex-direction: column;
    }

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