/* Main CSS file - GitHub Pages compatible version */

/* Removed problematic @import statements that were causing 404 errors */

:root {
    /* Sophisticated dark blue theme matching your CTA buttons */
    --bg-color: #0b0b0f;
    --card-color: #1a1a20;
    --card-hover: #22222a;
    --text-color: #f5f5f7;
    --accent-color: #0062ff; /* Your signature blue */
    --hover-color: #1a73ff; /* Lighter blue for hover */
    --secondary-text: #b4b4b6;
    --tertiary-text: #8e8e93;
    --shadow-color: rgba(0, 0, 0, 0.6);
    --deep-shadow: rgba(0, 0, 0, 0.8);
    --luxury-shadow: rgba(0, 98, 255, 0.15); /* Blue shadow */
    --border-color: #2c2c34;
    --subtle-border: #38383f;
    --premium-blue: #0052cc; /* Darker blue */
    --dark-blue: #003d99; /* Even darker blue */
    --luxury-blue: #0066ff; /* Vibrant blue */
    --platinum: #e5e5ea;
    --luxury-gradient: linear-gradient(135deg, #0062ff 0%, #1a73ff 50%, #0052cc 100%); /* Blue gradient */
    --card-gradient: linear-gradient(145deg, #1a1a20 0%, #1f1f26 100%);
    --glass-bg: rgba(26, 26, 32, 0.8);
    --glass-border: rgba(0, 98, 255, 0.2); /* Blue glass border */
}

body{
    margin:0;
    padding:0;
    color:white;
    height: 100%;
    background-color: #000000;
    /*    old font     font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;*/
    font-family: D-DIN-Regular;

}
@font-face {
    font-family: 'D-DIN-Regular';
    src: url('fonts/D-DIN.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'D-DIN-Bold';
    src: url('fonts/D-DIN-Bold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
.centered-container,
.centered-container2,
.centered-container3 {
    display: flex;
    justify-content: center;
}

.centered-container {
    align-items: center;
    height: auto;
}

.centered-container2 {
    margin-top: 15vh;
    margin-bottom: 5vh;
}

.centered-container3 {
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
}


.background {
    /*background-image: url('/sources/imgs/1.jpg'); /* Replace with your image path */
    background-size: 170px;
    background: url('imgs/milkyway.jpg') center/cover;
    background-position: center; /* Center the background image */
    background-repeat: no-repeat;
    opacity: 0.2;
    background-color: #000000;

}
#firstsection{
    transform: translateZ(-40px) scale(5);
    transform-style: preserve-3d;

}
.show-background {
    opacity: 1;
}
#glowbox {
    width: auto;
    min-width: 250px;
    height: 169px;
    border-radius: 100px;
    color: #000000;
    transition: box-shadow 1s ease; /* Adjust the duration and easing as needed */
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.initial-shadow {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.final-shadow {
    box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.7);
}
h1 {
    margin: 0;
    text-align: center;
    width: 100%;
}

.name{
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
    transition: 0.2s;

}
.name:hover{
    transition: 0.2s;
    font-size: 32px;

}



/*------------------------------------hello------------------------------------*/

.helloo {
    margin-top: 120px;
    padding: 100px 20px 150px;
    background: url('/sources/imgs/earth.png') center/cover no-repeat;
    text-align: center;
    position: relative;
    transform: translateZ(-2.5px) scale(1.25);    
}
.helloo * {
    pointer-events: auto; /* Re-enable pointer events for .helloo children */
  }
#whoami {
    max-width: 800px;
    margin: 0 auto;
    z-index: 3;
}

#whoami h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.subtitle p {
    margin: 10px 0;
}

.cta-buttons {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    background-color: rgba(0, 98, 255, 0.7);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(0, 98, 255, 0.9);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid rgba(0, 98, 255, 0.7);
    color: rgba(0, 98, 255, 0.9);
}

.cta-button.secondary:hover {
    background-color: rgba(0, 98, 255, 0.2);
    color: white;
}

.asteroid {
    width: 200px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    #whoami h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .asteroid {
        width: 150px;
    }
}

/*------------------------------------content------------------------------------*/
.content{
    height: 100%;
    z-index: 1;
    position: relative;
    margin-top: 0px;
}
/*------------------------------------achievements------------------------------------*/
#ach{
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: auto;
    padding-top: 50px;
}

#ach h2{
    font: 60px/45px D-DIN-Bold,Arial,Verdana,sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    margin-bottom: 2%;
    font-size: 55px;
    text-align: center;

}
.box h2{
    color: rgb(0, 98, 255);
}
#boxes{
    margin-left: 10px;
    margin-right: 10px;
    height: auto;
}
.box{
    margin-top: 4%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    transition: transform 0.3s ease;
}
.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.element{
    width: 50%; /* Each div takes 50% of the container's width */
    padding: 20px;

}
.bright {
    filter: brightness(0.8); /* Adjust the value as needed, e.g., 0.7 for less brightness */
}

.element img,iframe{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7%;
    width:auto;
    max-width:400px !important;
    max-height: 400px !important;
    border-radius: 20px;
    transition: transform 0.3s ease;
    /*
    border-color: #fffbfb;
    border-width: 3px;
    border-style:solid;
    box-shadow: 0 0 15px 5px rgba(117, 117, 117, 0.7);
    */

}
.element img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.element iframe{
    height: 90%;
}
.element ul li h2{
    font-size: 25px !important;

}
.element ul li a{
    color: rgb(97, 155, 248);
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s;

}
.element ul li{
    padding: 10px;
    font-size: 18px;
}

.element ul li a:hover{
    color: #747373;
    text-decoration: underline;
    transition: 0.2s;

}

@media (max-width: 768px) {
    .col-6 img, iframe{
        width: 100%; /* Make columns full-width on screens smaller than 768px */
    }
}
.box {
    display: flex;
    flex-wrap: wrap;
  }
  
  .element {
    flex: 1;
    min-width: 300px; /* Set a minimum width for each box */
    margin: 10px; /* Add some spacing between the boxes */
    padding: 0px;
  }
  .element ul{
    list-style: none;
  }
  
  /* Media query for mobile screens */
  @media (max-width: 559px) {
    .swap:nth-child(1) {
      order: 2; /* Swap Box 1 and Box 2 */
    }
    
    .swap:nth-child(2) {
      order: 1; /* Swap Box 1 and Box 2 */
    }
    .element{
        margin: 0px;
    }
  }
/*------------------------------------small js projects------------------------------------*/
#linklist{
    color: rgb(97, 155, 248);
}
#twitterembed{
    display: flex;
    justify-content: center;
}
/*------------------------------------img slider for aoc------------------------------------*/
  
/*------------------------------------navbar------------------------------------*/
* {
    margin: 0;
    padding: 0;
}

/* Style the navigation bar */
.navbar {
    padding-top: 20px;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* Style the navigation list */
.nav-list {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.nav-list li {
    margin: 0 15px;
}

/* Style the navigation links */
.nav-list li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;

}

.nav-list li a:hover {
    text-decoration: underline;
}

.dot{
    width: auto;
}
.socials a:hover{
    width: 36px;
    height: 36px;
}



.aoc-images {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    min-width: 400px; /* Set a minimum width for each box */

}

.aoc-2023, .aoc-2022, .aoc-2024 {
    position: absolute;
    max-width: 60% !important;
    max-height: 60% !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.aoc-2022 {
    transform: rotate(-5deg) translateX(-15%);
    z-index: 1;
}

.aoc-2023 {
    transform: rotate(0deg) translateX(0%);
    z-index: 2;
}

.aoc-2024 {
    transform: rotate(5deg) translateX(15%);
    z-index: 3;
}

.aoc-images:hover .aoc-2022 {
    transform: rotate(-10deg) translateX(-20%);
}

.aoc-images:hover .aoc-2023 {
    transform: rotate(0deg) translateY(-5%);
}

.aoc-images:hover .aoc-2024 {
    transform: rotate(10deg) translateX(20%);
    opacity: 1; /* Make visible on hover */
}

@media (max-width: 768px) {
    .aoc-images {
        height: 600px;
    }
    
    .aoc-2023, .aoc-2022, .aoc-2024 {
        max-width: 70% !important;
        max-height: 70% !important;
    }
}

#contact {
    text-align: center;
    padding: 50px 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin:auto;
    max-width: 600px;
}

#contact h2 {
    margin-top: 5px;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #fff;
}

#contact p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ccc;
}

.email-link {
    display: inline-block;
    font-size: 1.2em;
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid rgba(0, 98, 255, 0.7);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.email-link:hover {
    background-color: rgba(233, 233, 233, 0.7);
    color: #000;
}
.star-container {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
  }
  
  .constellation-star {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  
  .constellation-star.hovered {
    box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.7);
  }
  
  .star-name {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
  }

/*------------------------------------luxury loading overlay------------------------------------*/

/* Loading overlay styles - Sophisticated luxury design */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b0b0f 0%, #1a1a20 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s, visibility 1.2s ease 0.3s;
    backdrop-filter: blur(20px);
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-overlay.content-hidden .loader-container {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.loader-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.luxury-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    animation: logoReveal 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-letter {
    font-family: D-DIN-Regular;
    font-size: 4.5rem;
    font-weight: 400;
    color: white;
    letter-spacing: -2px;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    animation: letterReveal 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.logo-letter:first-child {
    animation-delay: 0.3s;
}

.logo-letter:last-child {
    animation-delay: 0.6s;
}

.logo-separator {
    width: 8px;
    height: 8px;
    background: white;
    margin: 0 30px;
    border-radius: 50%;
    transform: scale(0);
    animation: separatorReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
    box-shadow: 0 0 20px var(--luxury-shadow);
}

.elegant-loading {
    position: absolute;
    bottom: 80px;
    width: 80%;
    height: 2px;
    background: var(--card-color);
    border-radius: 2px;
    overflow: hidden;
    animation: fadeIn 1.8s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) inset;
}

.elegant-loading::before {
    content: '';
    position: absolute;
    width: 30%;
    height: 100%;
    background: white;
    animation: elegantProgress 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--luxury-shadow);
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes separatorReveal {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes elegantProgress {
    0% {
        left: -30%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Base animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Footer Styles */
.site-footer {
    margin-top: 80px;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--card-color);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--secondary-text);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--hover-color);
}

.footer-links span {
    color: var(--tertiary-text);
    font-size: 0.8rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links span {
        display: none;
    }
}

/* Skills Section */
#skills {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

#skills h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    font-family: D-DIN-Bold;
    font-size: 2.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: var(--card-color);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--luxury-shadow);
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-family: D-DIN-Bold;
    font-size: 1.4rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: rgba(0, 98, 255, 0.15);
    color: var(--text-color);
    border: 1px solid rgba(0, 98, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: rgba(0, 98, 255, 0.25);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #skills h2 {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-category {
        padding: 20px;
    }
}

