/* ===== RESET & BASE ===== */
body, html {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden !important;
    overflow-y: scroll;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    line-height: 24px;
    letter-spacing: 0;
    color: #fff;
    background-color: #000;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a, a:focus, a:hover, button, button:focus, button:hover {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    outline: 0 !important;
}

h1, h2, h3, h4, h5, h6, p {
    color: inherit;
    line-height: 1.4;
    padding: 0;
    margin: 0;
}

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

img {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

::selection {
    color: #fff;
    background-color: #3e5ee7;
}

/* ===== FONTS ===== */
.oswald { font-family: Oswald, sans-serif; }
.uppercase { text-transform: uppercase; }
.semibold { font-weight: 600; }

/* ===== LAYOUT HELPERS ===== */
.t-center { text-align: center; }
.relative { position: relative; }
.clearfix::after { content: ''; display: table; clear: both; }

.v-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.v-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.display-table {
    display: table;
    width: 100%;
    height: 100%;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.container {
    max-width: 1480px !important;
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container-sm {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    display: flex;
    gap: 8px;
}

.spinner__item {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    animation: spinner-bounce 1.4s infinite ease-in-out both;
}

.spinner__item:nth-child(1) { animation-delay: -0.32s; }
.spinner__item:nth-child(2) { animation-delay: -0.16s; }
.spinner__item:nth-child(3) { animation-delay: 0s; }
.spinner__item:nth-child(4) { animation-delay: 0.16s; }

@keyframes spinner-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ===== NAVIGATION ===== */
#navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.logo a {
    display: inline-block;
}

/* ===== HOME / HERO SECTION ===== */
#home {
    height: 100vh;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-scroll-wrapper {
    transition: opacity 0.3s ease;
}

/* ===== SUN / ECLIPSE CONTAINER ===== */
.sun-container {
    width: 90vh;
    height: 90vh;
    max-width: 95vw;
    max-height: 95vw;
    margin: 0 auto;
    display: table;
    border-radius: 100%;
    position: relative;
    background-color: #000;
    z-index: 1;
}

.sun-container::before,
.sun-container::after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    z-index: 1;
    left: 0;
    top: 0;
    border-radius: inherit;
    background-color: white;
    box-shadow: 0px 0px 110px 0px rgba(255, 255, 255, 0.8);
    transition: all 1s;
}

.sun-container::after {
    box-shadow: none;
    background: black;
    z-index: 2;
}

.sun-container .v-middle {
    position: relative;
    z-index: 3;
}

.sun-container.rising::before {
    transform: translateX(20px);
}

/* ===== INTRO CONTENT ===== */
.intro-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #fff;
}

.intro-subtitle {
    font-size: 1.2rem;
    color: #ccc;
}

/* ===== TYPED TEXT ===== */
.text-slider,
.typed-cursor {
    font-size: 2.5rem;
}

/* ===== INFO SECTION ===== */
#info {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
}

.about-box-container {
    padding: 20px 0;
}

.title-left {
    border-bottom: 1px solid gray;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 300;
    transition: all 0.4s ease;
}

.title-s {
    font-weight: 400;
    color: #909090;
}

/* ===== FOOTER ===== */
#footer {
    background-color: #000;
    color: #888;
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    padding: 40px 0;
}

.colored {
    color: #3e5ee7 !important;
}

.underline-hover:hover {
    text-decoration: underline;
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#home,
#info {
    position: relative;
    z-index: 1;
}

/* ===== FADE-IN ON SCROLL ===== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the second column */
.fade-in-section:nth-child(2) {
    transition-delay: 0.2s;
}

/* ===== HOVER GLOW EFFECTS ===== */
.about-box {
    margin: 15px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.about-box:hover {
    border-color: rgba(62, 94, 231, 0.3);
    box-shadow: 0 0 30px rgba(62, 94, 231, 0.1), inset 0 0 30px rgba(62, 94, 231, 0.03);
    background: rgba(255, 255, 255, 0.02);
}

.about-box:hover .title-left {
    border-bottom-color: #3e5ee7;
    text-shadow: 0 0 20px rgba(62, 94, 231, 0.3);
    transition: all 0.4s ease;
}

.about-box p span:not(.title-s) {
    transition: color 0.3s ease;
}

.about-box:hover p span:not(.title-s) {
    color: #e0e0e0;
}

/* Footer link glow */
.colored {
    color: #3e5ee7 !important;
    transition: all 0.3s ease;
}

.colored:hover {
    text-shadow: 0 0 15px rgba(62, 94, 231, 0.6);
    text-decoration: none;
}

/* Scroll down button */
#scrolldown {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    animation: bounce-arrow 2s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

#scrolldown:hover svg {
    stroke: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 0 8px rgba(62, 94, 231, 0.6));
}

#scrolldown svg {
    transition: all 0.3s ease;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sun-container {
        width: 80vw;
        height: 80vw;
    }

    .intro-title {
        font-size: 1.5rem;
    }

    .text-slider,
    .typed-cursor {
        font-size: 1.5rem;
    }

    #scrolldown {
        font-size: 2em;
    }
}

@media (max-width: 576px) {
    .intro-title {
        font-size: 1.2rem;
    }

    .text-slider,
    .typed-cursor {
        font-size: 1.2rem;
    }

    .about-box {
        margin: 10px 5px;
    }
}
