/* Color Palette Variables */
:root {
  /* Strictly Dark & Light Greys */
  --bg-dark: #313131;       
  --bg-secondary: #1e1e1e;  
  
  /* Sunset Palette */
  --accent-mauve: #A86C82;  
  --accent-pink: #D8737F;   
  --highlight-gold: #FCBB6D; 
  --text-white: #f4f4f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Inter', -apple-system, sans-serif;
}

body {
  background-color: var(--bg-dark);
  /* Fixed Paper Texture */
  background-image: url('https://ready.so/images/Sand-Texture.webp') rgba(18, 18, 18, 0.95);
  background-repeat: repeat;
  background-blend-mode: luminosity; /* Makes texture visible on dark grey */
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
}

/* --- CONSOLIDATED UNIVERSAL TOP NAV --- */

:root {
  /* Color Palette */
  --bg-dark: #313131;       
  --bg-secondary: #1e1e1e;  
  --accent-mauve: #A86C82;  
  --accent-pink: #D8737F;   
  --highlight-gold: #FCBB6D; 
  --text-white: #f4f4f4;
}

/* Base body adjustments for Fixed Nav */
body {
  padding-top: 80px; /* Prevents content from hiding behind the sticky nav */
}

/* The Top Navigation Bar */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5vw;
    
    /* Sticky/Fixed Logic */
    position: fixed;    
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000;      
    
    /* Visuals from Universal Sheet */
    background: rgba(18, 18, 18, 0.8); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Your Name (Left Side) */
.nav-name {
    font-weight: 900;
    font-size: 1.9rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-name:hover {
    color: var(--highlight-gold);
}

/* Links Container (Right Side) */
.nav-links {
    display: flex;
    gap: 40px; /* Spacing between links */
}

/* Individual Link Styling */
.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--highlight-gold);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    .nav-links a {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* Project & Info Cards */
.card {
  background: var(--bg-secondary);
  padding: 25px;
  border-radius: 12px;
  border-bottom: 4px solid var(--accent-mauve);
  transition: transform 0.3s ease, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--accent-pink);
}

button {
  background: var(--accent-pink);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  background: var(--highlight-gold);
  color: var(--bg-dark);
}