@font-face {
    font-family: "aston";
    src: url("fonts/Aston Script.ttf");
}

@font-face {
    font-family: "Keroine";
    src: url("fonts/KeroinePRO2023-IntenseLegere.otf");
}

* {
    box-sizing: border-box;
    cursor: none;
}

.go-back {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.go-back img {
    width: 100px;
    height: auto;
    display: block;
}

.go-back:hover {
    transform: scale(1.1);
}

   

.floating-images {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.floating-img {
    position: absolute;
    width: 120px;
    height: auto;
    animation: float-rotate 15s ease-in-out infinite;
    opacity: 0.7;
    }

    @keyframes float-rotate {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-20px) translateX(15px) rotate(5deg); 
    }
    50% { 
        transform: translateY(-10px) translateX(-15px) rotate(-5deg); 
    }
    75% { 
        transform: translateY(-25px) translateX(10px) rotate(3deg); 
    }
}

body {
    /* min-height: 100vh; */
    width:100vw;
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Keroine', sans-serif;
    position: relative;
    margin: 0;
}

.top-nav {
    z-index: 10;
    /*background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px); /* Creates frosted glass effect */
   /* -webkit-backdrop-filter: blur(10px); /* Safari support */
    position: sticky;
    top: 0;
    height: 20vh; /* Increased from 15vh */
    display: flex;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em; /* Added vertical padding */
    padding-bottom: 1em;
    gap: 1em;
    justify-content: space-between;
    align-items: center;
   /* box-shadow: 0 10px 20px -8px rgba(255, 255, 255, 0.3); /* Softer shadow */
    /*margin-bottom: 2em; /* Creates gap between nav and content below */
}
.about {
    flex: 1;
    text-align: left;
    font-size: 1.5em;
    font-family: 'Keroine';
    color: #867b84;
    text-decoration: none;
    
    transition: all 0.3s ease;
}
.about:hover{
    font-size: 1.8em;
    color: #f8cef0;
    text-shadow:
        0 0 6px rgba(169, 250, 125, 0.755),
        0 0 12px rgba(169, 250, 125, 0.755),
        0 0 18px rgba(169, 250, 125, 0.755),
        0 0 24px rgba(169, 250, 125, 0.755);

}

.site-title {
    flex: 3;
    text-align: center;
    font-size:3em;  
    font-family: 'aston', cursive;
    color: #f8cef0;
    -webkit-text-stroke: 0.6px #201923;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.4), /* dark shadow */
        0 0 12px rgba(255, 255, 255, 0.7); /* soft glow */
}
/* 
.selected-works {
    flex: 1;
    text-align: right;
    font-size: 1.5em;
    font-family: 'Keroine';
    color: #867b84;
    text-decoration: none;
    transition: all 0.3s ease;
    /* cursor: pointer; */  /*
}
.selected-works:hover p{
    font-size: 1.8em;
    color: #f8cef0;
    /* text-shadow: */  /*
    transform: translateX(3px); /* your small movement */  /*
    text-shadow:
        0 0 6px rgba(169, 250, 125, 0.755),
        0 0 12px rgba(169, 250, 125, 0.755),
        0 0 18px rgba(169, 250, 125, 0.755),
        0 0 24px rgba(169, 250, 125, 0.755);

    user-select: none;
}*/
/* ----------------------------------------- */



.container {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-left: 1em;
  margin-right: 1em;
}

.container .box {
  max-height: 230px;
  position: relative; /* Important for positioning title */
}

.container .box a {
  position: relative;
  display: block;
}

.container img {
  height: 230px;
  display: block;
  transition: all 0.3s ease;
}

.container .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  opacity: 0; /* Hidden by default */
  pointer-events: none;
  transition: opacity 0.3s ease;
  color: #ffa5ee;
  font-family: 'Keroine';
  font-size: 1.2em;
  width: 80%;
  margin: 0;
  text-shadow:
    0 0 6px rgba(169, 250, 125, 0.755),
    0 0 12px rgba(169, 250, 125, 0.755),
    0 0 18px rgba(169, 250, 125, 0.755),
    0 0 24px rgba(13, 13, 12, 0.755); /* Green glow shadow */
    -webkit-text-stroke: 0.25px #000000;
}

.container .box:hover img {
  height: 250px;
  filter: blur(4px);
}

.container .box:hover .title {
  opacity: 1; /* Show on hover */
}

.box {
    /* max-width: fit-content */
    /* flex:1; */
    /* position: relative;
    aspect-ratio: 1;
    display: flex; */
}

.box a {
    /* position: absolute;
    display: block; */
}

.box>a>img {
    /* max-width:20% */
    /* width: 100%; */
    /* height: auto; */
    /* display: block; */
}

/* -------------------------------- */

.selected-works {
  flex: 1;
  text-align: right;
  font-size: 1.5em;
  font-family: 'Keroine';
  color: #867b84;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.selected-works p {
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevents text wrapping */
}

.selected-works:hover p {
  font-size: 1em; /* Same size as .about, not 1.8em */
  color: #f8cef0;
  transform: translateX(3px);
  text-shadow:
    0 0 6px rgba(169, 250, 125, 0.755),
    0 0 12px rgba(169, 250, 125, 0.755),
    0 0 18px rgba(169, 250, 125, 0.755),
    0 0 24px rgba(169, 250, 125, 0.755);
  user-select: none;
}

.selected-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(249, 198, 255, 0.473);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 10px 15px; /* Reduced padding */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 270px;
  max-height: 400px; /* Limit height */
  overflow-y: auto; /* Scroll if needed */

}

.selected-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.proj {
  padding: 4px 0; /* Reduced from 8px to 4px */
  transition: all 0.2s ease;
}

.proj a {
  color: #867b84;
  text-decoration: none;
  font-family: 'Keroine';
  font-size: 0.7em; /* Smaller font - reduced from 0.9em */
  transition: all 0.2s ease;
  display: block;
  line-height: 1.3; /* Tighter line height */
  white-space: nowrap;
  -webkit-text-stroke: 0.4px #000000;
}

.proj:hover a {
  color: #f8cef0;
  transform: translateX(5px);
  text-shadow: 0 0 8px rgba(169, 250, 125, 0.5);
}
/* -------------------------------- */

.sparkle-text {
    font-size: 13px;
    opacity: 0.8;
    margin: 20px 0 15px 0;
}

.end-sparkle {
    text-align: right;
}

.email-link,
.instagram-link {
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    transition: all 0.3s ease;
}

.email-link:hover,
.instagram-link:hover {
    color: #ff69b4;
    border-bottom-color: #ff69b4;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.4) 0%, rgba(147, 112, 219, 0.15) 40%, transparent 70%);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    filter: blur(3px);
}

/* 
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.35) 0%, transparent 60%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    filter: blur(2px);
} */

/* .custom-cursor::before {
    top: 15%;
    left: 30%;
    animation-delay: 0s;
}

.custom-cursor::after {
    bottom: 20%;
    right: 25%;
    animation-delay: 0.7s;
} */

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.about-section {
    width: 100%;
    padding: 2em 0;
    margin-top: 3em;
}

.about-section iframe {
    width: 100%;
    min-height: 100vh;
    border: none;
    display: block;
}

/* This will work if you can access iframe content (same domain) */

footer {
    background-color: #ffffff;
    text-align: center;
    padding: 20px 10px;
    margin-top: 20px;
    font-size: 0.8em;
    text-decoration: none;
    line-height: 0.8;

}