/* Base body styling */
body {
    background-color: #000000;
    width: 100vw;
    height: 100vh;
    font-family: "Inter", Arial, sans-serif;
    scroll-behavior: smooth;
}

.background {
    top: 0;
    left: 0;
    position: absolute;
    background-color: #000000;
    background: radial-gradient(50% 50%, rgba(250, 117, 248, 0.28) 0%, rgba(250, 117, 248, 0) 100%);
    opacity: 0.8; 
    width: 1845px; 
    height: 1230px;
}

.bg1 {
    top: 0px; 
    left: -340px;
    background: radial-gradient(50% 50%, rgba(250, 117, 248, 0.28) 0%, rgba(250, 117, 248, 0) 100%);
}

.bg2 {
    top: 240px;
    left: -750px;
    background: radial-gradient(50% 50%, rgba(117, 248, 250, 0.28) 0%, rgba(117, 248, 250, 0) 100%);
}

.bg3 {
    top: 1289px;
    left: -500px;
    background: radial-gradient(50% 50%, rgb(35, 24, 51) 0%, rgba(117, 117, 248, 0) 100%);
}

.bg4 {
    top: 1920px;
    left: 720px;
    background: radial-gradient(50% 50%, rgb(20, 43, 55) 0%, rgba(117, 117, 248, 0) 100%);
}

/* Portfolio section styling */
.portfolio-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
}

.portfolio-background-text {
    font-size: 10vw;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    user-select: none;
}

.portfolio-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.portfolio-content p {
    font-size: 1.2em;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 40px;
}

.highlight {
    background: linear-gradient(90deg, #ffb74d, #f36f56);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* Portfolio grid layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.portfolio-item h3 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

.portfolio-item p {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background: linear-gradient(90deg, #9b51e0, #a855f7);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(90deg, #a855f7, #9b51e0);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 4rem;
    -webkit-backdrop-filter: blur(0.625rem);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0.625rem);
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.2);
}

.navbar-brand > a {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    font-family: Jura, sans-serif;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 1.25rem;
}

.navbar-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-links li a:hover {
    color: #b9b8b8;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    max-height: 200px; /* Adjust this value as needed */
    object-fit: cover; /* Ensures the image covers the container without distortion */
    border-radius: 8px;
    transition: transform 0.3s ease;
}
