/* ------------------------- */
/* FONT & VARIABLE SETUP     */
/* ------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Set Inter as your default font-face */
@font-face {
    font-family: 'Inter';
    font-weight: 300 700;
    src: local('Inter'), local('Inter-Regular');
}

:root {
    --primary-orange: #df6236;
    --muted-orange: #c94e27;
    --primary-yellow: #f2bd44;
    --text-black: #000000;
    --bg-dark-gray: #1a1a1a;
    --text-warm-white: #f5f2ef;
    --bg-white: #ffffff;

    --font-heading: 'Sinhala MN Custom', sans-serif;
    --font-body: 'Mundial Light Custom', sans-serif;
}

/* ------------------------- */
/* BASE & BACKGROUND STYLES  */
/* ------------------------- */

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

html, body {
    height: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background: linear-gradient(-45deg, var(--text-black), var(--bg-dark-gray), var(--text-black));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ------------------------- */
/* GRID LAYOUT CONTAINER     */
/* ------------------------- */

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* ------------------------- */
/* CARD & LAYOUT             */
/* ------------------------- */

.card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    text-align: center;

    animation: fadeInUp 0.5s 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

copyright {
    color: var(--text-warm-white);
    opacity: 0.5;
    font-size: 0.8rem;
    text-align: center;
    padding: 20px;

    animation: fadeInUp 0.5s 1.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* ------------------------- */
/* PROFILE HEADER            */
/* ------------------------- */

.profile-header img,
.profile-header h1,
.profile-header p {
    opacity: 0;
    transform: translateY(20px);
}

.profile-header img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    object-fit: cover;
    animation: fadeInUp 0.5s 0.4s forwards;
}

.profile-header h1 {
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--bg-white);
    font-size: 2.2rem;
    margin-bottom: 8px;
    animation: fadeInUp 0.5s 0.5s forwards;
}

.profile-header p {
    color: var(--text-warm-white);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s 0.6s forwards;
}

/* ------------------------- */
/* SOCIAL ICONS              */
/* ------------------------- */

.social-icons {
    margin-top: 20px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s 0.7s forwards;
}

.social-icons p {
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--text-warm-white);
    opacity: 0.9;
    margin-bottom: 20px;
}

.icon-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.icon-links a {
    color: #ffffff;
    font-size: 2.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.icon-links a:hover {
    color: var(--primary-yellow);
    transform: translateY(-8px) scale(1.1);
}

/* ------------------------- */
/* SECTION DIVIDER           */
/* ------------------------- */

.section-divider {
    border: none;
    border-top: 2px solid var(--primary-yellow);
    width: 60%;
    max-width: 250px;
    margin: 0 auto 40px auto;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    animation: dividerFadeIn 0.6s 0.9s forwards;
}

@keyframes dividerFadeIn {
    to {
        opacity: 0.6;
        transform: scaleX(1);
    }
}

/* ------------------------- */
/* LINKS & BUTTONS           */
/* ------------------------- */

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-button {
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--bg-white);
    background-color: var(--primary-orange);
    padding: 16px;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(223, 98, 54, 0.4);
    transition: all 0.3s ease;

    opacity: 0;
    transform: translateY(20px);
}

.link-button:nth-child(1) { animation: fadeInUp 0.5s 1.0s forwards; }
.link-button:nth-child(2) { animation: fadeInUp 0.5s 1.1s forwards; }

.link-button:hover {
    background-color: var(--muted-orange);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 30px rgba(223, 98, 54, 0.5);
}

.link-button i {
    font-size: 1.2rem;
}

/* ------------------------- */
/* ANIMATION KEYFRAMES       */
/* ------------------------- */

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------- */
/* TOP MENU BAR              */
/* ------------------------- */



:root {
  --nav-height: 72px; /* adjust if you change padding/size */
}

/* Full-width bar fixed to top */
.top-menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: center; /* centers the inner UL horizontally */
  align-items: center;
  padding: 12px 0;
  z-index: 9999; /* above everything */
  background: transparent; /* keep transparent, background box is on UL */
}

/* Center inner nav and contain the translucent box */
.top-menu-bar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  width: 100%;
  max-width: 900px; /* center block width; change as needed */
  margin: 0 auto;
  padding: 10px 18px;

  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.top-menu-bar ul li a[href="https://sypientanalytica.com/linktree"] {
    font-weight: 700;          /* Make it bold */
    color: #f15722 !important; /* Orange color */
}

/* small niceties */
.top-menu-bar li { margin: 0 8px; }
.top-menu-bar a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-warm-white);
  font-family: var(--font-heading);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}

/* make sure body content isn't hidden behind the fixed nav */
.content-wrapper {
  padding-top: calc(var(--nav-height) + 12px); /* keeps your content visible below the nav */
}







/* ------------------------- */
/* MOBILE RESPONSIVE         */
/* ------------------------- */

@media (max-width: 480px) {
    .top-menu-bar ul {
        flex-direction: column;
        padding: 5px 0;
        margin-bottom: 20px;
    }
    .top-menu-bar li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .top-menu-bar a {
        padding: 10px;
    }
}
