/* VARIABLES */
:root {
    /* Colors */
    --main-bg-color: #1b1b1b;
    --main-btn-color: #828387;
    --dark-grey: #232323;
    --grey: rgba(255, 255, 255, 0.1);
    --light-grey: #cccccc;
    --white: #fff;
    --black: #000;
    --blue: #00a6fb;
    --green: #23ce6b;
    --red: #fd5749;
    --main-btn-color-transparent:rgb(130, 131, 135, .2);
    --swiper-theme-color: #23ce6b !important;
    --yellow: #fcd441;
    --light-black: #111111;
    --light-black-transparent: rgb(17, 17, 17, .8);
    --blue-hover: #0095E2;
    --green-hover: #20B960;

    --title-gradient: -webkit-linear-gradient(315deg,#23ce6b 25%,#00a6fb);

    /* Resume colors */
    --resume-blue: #4285f4;
    --resume-grey: #434343;
    --g-blue: #4285F4;
    --g-green: #0F9D58;
    --g-yellow: #F4B400;
    --g-red: #DB4437;
     /* Font families */
    --main-font: 'Arial', sans-serif;
    --code-font: 'Source Code Pro', monospace;
    --title-font: 'Arial', sans-serif;
    --g-font: 'Open Sans', sans-serif;
     /* Font sizes */
     --extra-small-font: 12px;
     --small-font: 14px;
     --medium-font: 17px;
     --large-font: 20px;
     --extra-large-font: 24px;
     --extra-extra-large-font: 40px;
     /* Box shadows */
     --deep-box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
     --inset-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}


/* ELEMENTS */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background: var(--main-bg-color); */
    background: 
        radial-gradient(900px 500px at 0% -20%, rgba(0,166,251,.12), transparent 60%),
        radial-gradient(800px 420px at 100% 0%, rgba(35,206,107,.10), transparent 55%),
        var(--main-bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding-top: 80px;
}

p {
    color: var(--light-grey);
    font-family: var(--main-font);
    /* letter-spacing: 1.2px; */
    line-height: 1.4;
    font-size: var(--medium-font);
}

img {
    height: 100%;
    width: 100%;
}

h1 {
    font-size: 75px;
    color: var(--white);
    text-align: center;
    line-height: 1.75;
}

h2 {
    font-size: var(--extra-extra-large-font);
    font-family: var(--title-font);
    background-image: var(--title-gradient);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    color: var(--white);
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.25;
}

h3 {
    font-size: var(--large-font);
    font-family: var(--main-font);
    color: var(--white);
    letter-spacing: 1.5px;
    text-align: center;
    line-height: 1.75;
}

a {
    font-family: var(--main-font);
    text-decoration: none;
    color: var(--white);
}


/* FOOTER */
/* footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    background-color: var(--dark-grey);
    padding: 3rem;
    margin-top: 2rem;

}

footer .footer-brand {
    display: flex;
    gap: .75rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

footer .footer-brand p {
    color: var(--blue);
    font-family: var(--code-font);
    font-weight: bold;
    font-size: var(--medium-font);
    text-shadow: var(--light-black) 1px 2px;
}

footer .footer-menus {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    width: 60%;
}

footer .footer-menus .footer-menu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    width: 100%;
}

footer .footer-menus .footer-menu .footer-menu-category {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    text-align: left;
    width: 100%;
}

footer .footer-menus .footer-menu .footer-menu-category p {
    font-size: 16px;
    color: var(--white);
    font-weight: bold;
    width: 100%;
}

footer .footer-menus .footer-menu .footer-menu-category a {
    font-family: var(--main-font);
    text-align: left;
    width: 100%;
    color: var(--light-grey);
}

footer .footer-menus .footer-menu .footer-menu-category a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--white);
}


footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

footer .footer-links p {
    font-size: var(--small-font);
    font-style: italic;
} 
    
*/

/* FOOTER  */
.site-footer {
  --max-w: 1200px;
  --ring: rgba(255,255,255,0.08);
  --divider: rgba(255,255,255,0.12);

  background: linear-gradient(180deg, var(--dark-grey) 0%, #121316 100%);
  color: var(--light-grey);
  border-top: 1px solid var(--divider);
  padding: 40px 20px 24px;
}

.site-footer a { color: var(--light-grey); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.site-footer .footer-inner {
  margin: 0 auto;
  max-width: var(--max-w);
  display: grid;
  gap: 32px; /* tighter overall gaps */
}

.site-footer h3 {
    font-size: 16px;
    margin-bottom: 1.5rem;
}

/* Top: Brand + Social */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--divider);
}

.footer-brand { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
}

.footer-logo  { 
    display: none;
    width: 40px; height: 40px; 
    border-radius: 10px; 
    box-shadow: 0 6px 18px var(--ring); 
    background: #00000033; 
    object-fit: contain; 
}

.footer-wordmark { 
    color: var(--blue); 
    font-family: var(--code-font); 
    font-weight: 800; 
    font-size: clamp(18px, 2.2vw, 22px); 
    text-shadow: var(--light-black) 1px 2px; 
}

.footer-wordmark .text-green { 
    color: var(--green, #23ce6b);
}

/* Social */
.footer-social { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
}

.footer-social .social-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    padding: 6px 8px; 
    border-radius: 999px; 
    border: 1px solid transparent; 
    transition: transform .15s ease, border-color .15s ease, background .15s ease; 
}

.footer-social .social-link img { 
    width: 18px; 
    height: 18px; 
    width: 22px;
    height: 22px;
    display: block; 
    /* filter: contrast(0) brightness(2);  */
}

.footer-social .social-link span { 
    font-size: 15px; 
    line-height: 1; 
}

.footer-social .social-link:hover { 
    transform: translateY(-1px); 
    border-color: var(--divider); 
    background: rgba(255,255,255,0.04); 
}

/* Grid (auto-fit, tidy columns, left-aligned) */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 24px;    
  align-items: start;
  justify-items: start;
}

.footer-col { display: block; margin: 0; text-align: left; }

.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 6px 0;    
  text-align: left;
}

/* Lists: very tight vertical rhythm */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /* gap: 4px; */
}

.footer-list li {
    line-height: 1.8;
    margin-bottom: 1.25rem; 
}

.footer-list a {
  font-family: var(--main-font);
  font-size: 14px;
  line-height: 1.35;
  padding: 2px 0;    
  border-radius: 6px;
  text-align: left;
}

.footer-list a.btn-cta {
  display: inline-block;
  color: var(--white);
  background: var(--blue);
  border: 1px solid transparent;
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  box-shadow: 0 0 0 0 rgba(0,166,251,.0), 0 6px 14px rgba(0,166,251,.25);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-cta:hover {
  background: var(--blue-hover);
  box-shadow: 0 0 18px 0 rgba(0,166,251,.25);
  text-decoration: none;
}


/* Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--divider);
}
.footer-copy { 
    margin: 0; 
    font-size: var(--small-font, 12px); 
    font-style: italic; 
    color: var(--light-grey); 
}

.back-to-top { 
    font-size: 12px; 
    padding: 6px 10px; 
    border-radius: 8px; 
    border: 1px solid var(--divider); 
    background: rgba(255,255,255,0.03); 
}

.back-to-top:hover { 
    background: rgba(255,255,255,0.06); 
}

/* Responsive tweaks */
@media (max-width: 720px) {

  .footer-top { 
    flex-direction: column; 
    align-items: center;
    gap: 20px; 
   }

   .footer-bottom { 
    flex-direction: column; 
    align-items: center;
    gap: 20px; 
    text-align: left; 
   }
}




/* Section */
section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    margin: 5rem 0;
    margin: 4rem auto;
}

.section-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 50%;
}

.section-title p {
    text-align: center;
    font-size: var(--large-font);
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    /* DISPLAY */
    .mobile {
        display: flex;
    }

    .desktop {
        display: none;
    }

    .no-mobile {
        display: none;
    }

    h1 {
        font-size: 40px;
    }


    /* ELEMENTS */
    h2 {
        font-size: var(--medium-font);
        font-size: calc(8px + 2vh);
    }

    /* SECTIONS */
    section {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: .5rem;
        width: 100%;
        height: auto;
        margin: 2rem 0;
    }

    .section-title {
        width: 90%;
        padding: 0 5%;
    }

    .section-title p {
        font-size: var(--medium-font);
    }

    /* Footer */
    footer .footer-menus {
        width: 95%;
    }

    footer .footer-menus .footer-menu {
        flex-direction: column;
        gap: 3rem;
    }

    footer .footer-menus .footer-menu .footer-menu-category {
        width: 100%;
        height: auto;
    }

}


/* Older devices (small height) */
@media (max-height: 570px) { 
    section {
        height: calc( 100vh - 150px)
    }
}
