@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline:opsz,wght@10..72,100..900&family=Geist:wght@100..900&display=swap');

/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0F1011;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#lottie-animation {
    width: 200px;
    height: 200px;
}

:root {
    --big-stone-black: #00000055;
    --frost-white: #f7faf6;
    --aqua-island-light-blue: #a8dadc;
    --wedgewood-blue: #457b9d;

    --blue: #6db3ed;
    --red: #f05e4d;
    --yellow: #fec126;
    --white: #ffffff;
    --black: #000000;
    --accent1: #2c2d32;
    --accent2: #3B586F;

    --main-font: "Geist", sans-serif;
    --secondary-font: "Big Shoulders Inline", sans-serif;
}

::selection {
    color: var(--white);
    background: var(--blue);
}

::-moz-selection {
    color: var(--white);
    background: var(--blue);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--main-font);
    font-style: normal;
    font-weight: 100;
}

html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for a cleaner look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--accent1);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #84c3f6;
}

/* Liquid-glass class */
.liquid-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        inset 2px 0 4px 3px rgba(0, 0, 0, 0.28), 
        inset 2px 3px 4px 0 rgba(255, 255, 255, 0.529), 
        inset 0 0 2px 2px rgba(180, 180, 180, 0.337),
        0 3rem 3rem rgba(0, 0, 0, 0.097),
        0 1rem 1rem -0.6rem rgba(0, 0, 0, 0.287);
    position: relative;
    overflow: hidden;
    transition: 
        height 0.9s cubic-bezier(0.2, 0.05, 0.2, 1.7), 
        padding 0.9s cubic-bezier(0.2, 0.05, 0.2, 1.7);
}

/* Buttons */
.rounded-button {
    width: fit-content;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;      
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--blue), #6d9aed);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        inset 2px 0 4px 3px rgba(255, 255, 255, 0.28), 
        inset 2px 3px 4px 0 rgba(255, 255, 255, 0.529), 
        inset 0 0 2px 2px rgba(23, 23, 23, 0.337),
        0 3rem 3rem rgba(0, 0, 0, 0.097),
        0 1rem 1rem -0.6rem rgba(0, 0, 0, 0.287);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.rounded-button:hover {
    transform: scale(1.1);
}

/* ----- NAV BAR ----- */
#nav-container {
    transition: height 0.2s cubic-bezier(0.2, 0.05, 0.2, 1.7), padding 0.2s cubic-bezier(0.2, 0.05, 0.2, 3);
}

#nav-container.active {
    height: auto;
    padding-bottom: 1.5rem;
}

#mobile-menu {
    transition: opacity 0.9s cubic-bezier(0.2, 0.05, 0.2, 1.7), height 0.9s cubic-bezier(0.2, 0.05, 0.2, 1.7);
}

#mobile-menu-button .fa-times {
    transition: all 0.5s ease;
}

#nav-container.active #mobile-menu {
    opacity: 1;
    height: auto;
    padding: 0.75rem 0;
}

.main-logo {
    width: 90px;
    height: 50px;
    transition: transform 0.5s ease;
}

.main-logo:hover {
    transform: scale(1.1);
}

.main-logo img {
    width: 100%;
    min-width: 90px;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

nav .links a {
    color: var(--white);
    transition: transform 0.5s ease;     
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    font-weight: 500;
    font-size: 16.66px;
}

nav .links a:hover {
    transform: scale(1.1);
}
/* ----- End of nav bar ----- */

/* ----- HERO SECTION ----- */
#home {
    position: relative;
    background: transparent;
}
#hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
#home .container {
    position: relative;
    z-index: 10;
}
.masked-dots {
    background-image: radial-gradient(var(--white) 2px, transparent 1px); 
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%); 
}
h1 {
    font-family: var(--secondary-font);
}
h4 {
    font-family: var(--main-font);
}
.zoom-out {
    transform: translate(-50%, 0) scale(1) !important;
    transition: transform 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform-origin: bottom center;
}
.zoom-in {
    transform: translate(-50%, 0) scale(10) !important;
    transition: transform 2s cubic-bezier(0.65, 0, 0.35, 1); 
    transform-origin: bottom center;
}
/* ----- End of hero section ----- */


/* ----- ABOUT SECTION ----- */
/* ----- End of about section */

/* ----- PROJECTS ----- */
.carousel-container {
    max-width: 1200px;
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background-color: #ffffff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}
.carousel-wrapper {
    overflow: hidden;
    border-radius: 1rem;
}
.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    flex: 0 0 calc(100% / 3);
    box-sizing: border-box;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}
.image-aspect-ratio {
    width: 100%;
    padding-bottom: 125%;
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
}
.image-aspect-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease-in-out;
}
.carousel-slide.is-grayscale .image-aspect-ratio img {
    filter: grayscale(100%);
}
.carousel-slide.is-active .image-aspect-ratio img {
    filter: grayscale(0%);
}
.carousel-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
    font-size: 1.25rem;
    line-height: 1;
}
.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.carousel-button:disabled {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
}
@media (max-width: 767px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
    .carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .carousel-header h2 {
        margin-bottom: 1rem;
    }
    .carousel-buttons {
        width: 100%;
        justify-content: center;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .carousel-slide {
        flex: 0 0 calc(100% / 2);
    }
}
/* ----- End of projects ----- */
