
/*--------------------------------------------------------------
# Global Settings
--------------------------------------------------------------*/

@font-face {
    font-family: 'Agustina';
    src: url('/assets/fonts/Agustina.woff') format('woff');
}

@font-face {
    font-family: 'Dancing Script';
    src: url('/assets/fonts/DancingScript-Medium.ttf') format('truetype');
}


/* Global Variables */
:root{
    --font-family: 'Rubik', sans-serif;
    --primary-color: #415de6;
    --secondary-color: #e64157;
    --tertiary-color: #12c2e9;
    --primary-gradient-color: linear-gradient(90deg,#e64157,#415de6);
    --secondary-gradient-color: linear-gradient(to right, #12c2e9, #f64f59, #f64f59);
    --underline-gradient: linear-gradient(to left, #12c2e9, #c471ed, #f64f59);
    --vertical-gradient: linear-gradient(to top, #12c2e9, #c471ed, #f64f59);
    --transition-default: all .4s ease;
}   

body{
    font-family: var(--font-family);
    font-weight: 300;
}

a{
    color: var(--primary-color);
    text-decoration: none;
}

a:hover{
    color: var(--secondary-color);
}

/* Dark Mode */
[data-bs-theme="dark"] {
    position: relative;
    color: rgb(255, 255, 255/1);
    z-index: 0;
}

[data-bs-theme="dark"]::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url(/assets/images/dark-bg.webp) 50% no-repeat;
    background-size: cover;
    filter: brightness(50%);
    -webkit-filter: brightness(50%);
    z-index: -1;
}

/* Dark Mode styles */
[data-bs-theme="dark"] {
    --text-color: #fff;
    --muted-text: #9a9a9a;
    --bg-color: #212121;
    --btn-color: #fff;
    --offcanvas-bg: rgba(0,0,0,0.9);
    --offcanvas-border-color: rgba(255, 255, 255, 0.2);
}

/* Light Mode */
[data-bs-theme="light"] {
    position: relative;
    color: rgb(255, 255, 255/1);
    z-index: 0;
}

[data-bs-theme="light"]::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff url(/assets/images/light-bg.webp) 50% no-repeat;
    background-size: cover;
    filter: brightness(90%);
    -webkit-filter: brightness(90%);
    z-index: -1;
}

/* Light Mode styles */
[data-bs-theme="light"] {
    --text-color: #000;
    --muted-text: #000;
    --bg-color: #fff;
    --btn-color: #fff;
    --offcanvas-bg: rgba(215, 215, 215, 0.9);
    --offcanvas-border-color: rgba(255, 255, 255, 0.2);
}

*::selection {
    color: var(--primary-color);
}

::-webkit-scrollbar {
    width: 5px;
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: var(--vertical-gradient);
    box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.25), inset -2px -2px -2px rgba(0,0,0,0.25);
    -webkit-box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.25), inset -2px -2px -2px rgba(0,0,0,0.25);
}

.social-icons a{
    color: var(--text-color);
    font-size: 18px;
    margin-right: 3px;
    transition: var(--transition-default);
    -webkit-transition: var(--transition-default);
}

.social-icons a:hover{
    color: var(--primary-color);
}

.logo-name{
    font-family: 'Agustina', 'Rubik', sans-serif;
    font-size: 1.2rem;
}

.primary-bg-btn{
    color: var(--btn-color);
    background-color: var(--primary-color);
    border: none;
    transition: var(--transition-default);
    -webkit-transition: var(--transition-default);
}

.primary-bg-btn:hover{
    color: var(--bg-color);
    background-color: var(--text-color);
    border: 1px solid var(--bg-color);
    transform: translate(0, -0.25rem) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.primary-outline-btn{
    color: var(--btn-color);
    background-color: none;
    border-color: var(--primary-color);
    transition: var(--transition-default);
    -webkit-transition: var(--transition-default);
}

.primary-outline-btn:hover{
    color: var(--text-color);
    background-color: var(--primary-color);
    border: none;
    transform: translate(0, -0.25rem) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.secondary-bg-btn{
    color: var(--btn-color);
    background-color: var(--secondary-color);
    border: none;
}

.secondary-bg-btn:hover{
    color: var(--bg-color);
    background-color: var(--text-color);
    border: 1px solid var(--bg-color);
    transform: translate(0, -0.25rem) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.tertiary-bg-btn {
    color: var(--btn-color);
    background-color: var(--tertiary-color);
    border: none;
    transition: var(--transition-default);
    -webkit-transition: var(--transition-default);
}

.tertiary-bg-btn:hover {
    color: var(--bg-color);
    background-color: var(--text-color);
    border: 1px solid var(--bg-color);
    transform: translate(0, -0.25rem);
}


.in-progress{
    text-wrap: nowrap;
    background-color: rgba(255, 156, 9, 0.15);
    color: rgb(255, 156, 9);
}

.underline{
    position: relative;
}

.underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: var(--underline-gradient);
}

.underline:hover {
    color: var(--secondary-color);
}

.theme-button{
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.theme-text{
    background: var(--secondary-gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 2.25rem;
  color: var(--text-color);
}


.cursor-not-allowed{
    cursor: not-allowed!important;
}

.muted-text{
    color: var(--muted-text);
}

/* Preloader */
#preloader {
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeOutPreloader 1s linear 1s forwards;
    -webkit-animation: fadeOutPreloader 1s linear 1s forwards;
}

@keyframes fadeOutPreloader {
    to {
        opacity: 0;
        visibility: hidden;
    }
}


/*--------------------------------------------------------------
# Header Section
--------------------------------------------------------------*/

#header{
    background: transparent;
    transition: top 0.5s ease;
    -webkit-transition: top 0.5s ease;
}

.fixed-top{
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

    @media (max-width: 767px) {
        #switchTheme{
            display: flex;
            justify-content: end;
            flex-grow: 1;
        }
    }

#header .navbar{
    backdrop-filter: 20px;
    -webkit-backdrop-filter: 20px;
    padding: 15px 0;
}

.navbar .toggle-icon{
    color: var(--text-color);
    font-size: 28px;
}

.navbar-toggler:focus {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.offcanvas{
    background-color: var(--offcanvas-bg);
}

.offcanvas.show ul {
    position: absolute;
    justify-content: flex-start!important;
    top: 76.9px;
    left: 15px;
    right: 15px;
    bottom: 15px; 
    padding: 10px 15px;
    transition: none;
    -webkit-transition: none;
    border: 2px solid var(--offcanvas-border-color);
}

.fixedHeaderNavbar{
    position: fixed;
    height: 100vh;
}

.navbar-nav > li > .nav-link {
    position: relative;
    font-size: 15px;
    border-bottom: none;
    transition: width 0.35s ease;
    -webkit-transition: width 0.35s ease;
}

.navbar-nav > li > .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: var(--underline-gradient);
}

.navbar-nav > li > .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-image: var(--underline-gradient);
    transition: width 0.35s ease;
    -webkit-transition: width 0.35s ease;
}

.navbar-nav > li > .nav-link:hover::after {
    width: 100%;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
    position: relative;
    padding: 160px 0px 50px 0px;
    min-height: 100vh;
}

#hero .name {
    background: var(--text-color);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

#hero .btn-showcase {
    border-radius: 32px;
    border-color: #7042f88b;
    border-width: 1px;
    backdrop-filter: blur(6px); 
    -webkit-backdrop-filter: blur(6px); 
    box-shadow: inset 0 -7px 11px rgba(141, 53, 229, .136);
    -webkit-box-shadow: inset 0 -7px 11px rgba(141, 53, 229, .136);
    transition: box-shadow .45s cubic-bezier(.6,.6,0,1);
    -webkit-transition: box-shadow .45s cubic-bezier(.6,.6,0,1);
}

#hero .btn-showcase i {
    font-size: 13px;
}

#hero .btn-showcase:hover {
    box-shadow: inset 0 -7px 11px rgba(141, 53, 229, .536);
}

#hero .badge-button {
    margin-bottom: 15px;
}

#hero .tagline {
    letter-spacing: 1.5px;
    color: var(--muted-text);
}

.hero-portrait .pic {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45vw;
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    background-image: url(/assets/images/portrait.webp);
}

@media (max-width: 576px) {
    #hero {
        padding: 35px 0px 0px 0px;
    }

    .hero-portrait {
        position: relative;
        width: 100%;
        max-width: 170px;
        height: 170px;
        margin: 0 auto;
        border: solid 3px transparent;
        border-radius: 50%;
        overflow: hidden;
        background: var(--primary-gradient-color), radial-gradient(circle at top left, var(--primary-color), var(--secondary-color));
        background-origin: border-box;
        background-clip: content-box, border-box;
    }

    .hero-portrait .pic {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url(/assets/images/portrait.webp);
        border-radius: 50%;
    }

    .hero-content {
        margin-top: 35px;
    }

    #hero .btn-showcase {
        font-size: 12px;
    }

    #hero .tagline {
        font-size: 14px;
        letter-spacing: 1.2px;
    }

    #hero .social-icons a {
        font-size: 14px;
        padding: 0px 5px;
    }

    #hero .call-to-action {
        margin-top: 0px;
    }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#about{
    padding: 100px 0px;
    background-size: contain;
    min-height: 100vh;
}

.about-portrait{
    display: flex;
    padding: 30px 0px 30px 0px;
    justify-content: center;
    align-items: center;
}

.about-portrait .pic{
    width: 70%;
    height: auto;
    border-radius: 0.5rem;
    object-fit: cover;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 12px 8px 0px 0px #850dd5;
    -webkit-box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 12px 8px 0px 0px #850dd5;
}

#about .bio{
    padding: 30px 0 30px 0;
    color: var(--muted-text);
    font-size: 15px;
    word-spacing: 5px;
}

    @media (max-width: 576px) {
        .about-portrait{
            display: flex;
            padding: 30px 36px 30px 36px;
        }
        .about-portrait .pic {
            width: 90%;
        }
        #about .bio{
            font-size: 14px;
            padding: 30px 15px 30px 15px;
        }
    }

.bio-list {
  color: var(--text-color);
  font-size: 0.95rem; 
  font-weight: 300;
  line-height: 1.6;
  padding-left: 1.2rem;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; 
  justify-content: flex-start;
  text-align: left;
}

.bio-list li {
  list-style-type: disc;
  margin-bottom: 0;
  padding-left: 0;
}


/*--------------------------------------------------------------
# Experience Section
--------------------------------------------------------------*/

#experience{
    padding: 100px 0px;
    background-size: contain;
    min-height: 100vh;
}

.timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 40px;
    border-left: 2px solid var(--bs-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -12px;
    width: 20px;
    height: 20px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    top: 0;
}

.timeline-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.timeline-left {
    flex: 1 1 250px;
    font-weight: 500;
}

.timeline-right {
    flex: 2 1 500px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;  
}

.timeline-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.timeline-right li {
    margin-bottom: 0.5rem;
}

.experience-skills {
    margin-top: 0.75rem;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.experience-logo {
  width: 48px;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/

#projects {
  position: relative; 
  padding: 100px 0 80px 0;
  min-height: 100vh;
  background-size: contain;
  overflow-x: hidden;
}

#projects .container {
  position: relative; 
  overflow: visible;
  z-index: 1;   
}

/* Project Card Core */
.project-card {
  background-color: transparent;
  padding: 10px;
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 1px rgba(144, 81, 227, 0.5), 0 0 0.5px 0.5px rgba(141, 53, 229, 0.336);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 340px;
  height: auto;     
  max-height: none;   
  justify-content: center;
  align-items: stretch;
  display: flex;
}
/* Center card — sharp, zoomed */
#project-slider .owl-item.center .project-card {
  transform: perspective(1000px) rotateY(0deg) scale(1.05);
  z-index: 2;
  box-shadow: 0 0 15px rgba(144, 81, 227, 0.6);
  filter: none;
  opacity: 1;
}

/* Side card effects — blurred & tilted */
#project-slider .owl-item.left-item .project-card {
  transform: perspective(1000px) rotateY(-6deg) scale(0.95);
  filter: blur(0.6px);
  opacity: 0.85;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

#project-slider .owl-item.right-item .project-card {
  transform: perspective(1000px) rotateY(6deg) scale(0.95);
  filter: blur(0.6px);
  opacity: 0.85;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

/* Slider Layout */
#project-slider .owl-stage-outer {
  padding: 0 !important;
  overflow: visible;
}

#project-slider .owl-stage {
  display: flex;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

#project-slider .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

/* Nav Arrows */

#projects {
  padding: 100px 0 80px 0;
  min-height: 100vh;
  background-size: contain;
  overflow-x: hidden;
}

#projects .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow: hidden;   
  position: relative;  
}

/* Typography */
.project-card .title {
  position: relative;
  font-size: 18px;
  text-decoration: none;
}

.project-card .title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-image: var(--underline-gradient);
  transition: width 0.35s ease;
}

.project-card .title:hover::after {
  width: 100%;
}

.project-card .tagline,
.project-card .stacks,
.project-card .description {
  font-size: 11px;
  color: var(--muted-text);
}

.project-card .description {
  font-size: 14px;
}

.project-card .in-progress {
  font-size: 11px;
  border-radius: 32px;
}

.project-card .icon {
  max-width: 70%;
}

.project-card .description-container {
  padding-left: inherit;
}

/* Banner / Image Overlay */
.project-card .banner-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.project-card .banner {
  border-radius: inherit;
}

.project-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: inherit;
  transition: opacity 0.3s ease;
}

.project-card .banner-container:hover .overlay {
  opacity: 0.9;
}

.project-card .overlay a {
  position: absolute;
  width: 100%;
  height: 100%;
}

.project-card .overlay i {
  position: absolute;
  font-size: 25px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Button */
.project-card .primary-bg-btn {
  background-color: #850dd5;
}

.project-card .primary-bg-btn:hover {
  background-color: transparent;
  border: 1px solid var(--bg-color);
}

.project-controls {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 14rem;
  overflow: visible;
}

@media (max-width: 1650px) {
  .project-controls {
    position: static;
    transform: none;
    justify-content: center;
    gap: 2rem;
    margin-top: 0rem;
    padding-bottom: 2rem;
    z-index: auto;
    pointer-events: auto;
  }

  .project-controls button {
    width: 40px;
    height: 40px;
  }
}



.project-controls button {
  pointer-events: all;
  background: linear-gradient(135deg, #12c2e9, #c471ed, #f64f59);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 20px;
  color: white;
  box-shadow: 0 0 12px rgba(144, 81, 227, 0.6);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.project-controls button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(144, 81, 227, 0.9);
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/

#skills{
    padding: 100px 0px;
    background-size: contain;
    min-height: 100vh;
}

.skill {
    height: 160px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    padding: 18px 0px;
    border-radius: 25px;
    backdrop-filter: blur(300px);
    -webkit-backdrop-filter: blur(300px);
    box-shadow: 0 0 1px 0 rgba(144,81,227,.5), 0 0 0.5px 0.5px rgba(141,53,229,.336);
    -webkit-box-shadow: 0 0 1px 0 rgba(144,81,227,.5), 0 0 0.5px 0.5px rgba(141,53,229,.336);
}

    .skill-image {
        height: 80px;     
        width: auto;
        object-fit: contain;
        display: block;
        margin-bottom: 10px;
}

    .skill-name {
        font-size: 1rem;
        text-align: center;
        margin: 0;
}

/*--------------------------------------------------------------
# Footer Section
--------------------------------------------------------------*/

#footer > .container{
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer .copyright-text{
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--muted-text);
}

.copyright-text span{
    color: var(--text-color);
}

.copyright-text .heart-icon {
    background: var(--primary-gradient-color);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

/*--------- Back To Top ------------*/

#backToTopButton{
    display: none;
    position: fixed;
    right: 10px;
    bottom: 0px;
    z-index: 999;
    transition: var(--transition-default);
    -webkit-transition: var(--transition-default);
}


#backToTopButton:hover{
    color: var(--primary-color);
    transform: translate(0, -0.25rem) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}


