
:root {
  --branding-color: rgb(0, 0, 0); 
  --secondary-color: rgb(179, 174, 174);
  --heading-font-family: 'Quicksand', sans-serif;
  --subtle-white: #f5f5f5;
  --accent-red: rgb(165, 4, 4); 
}

/* ================== GLOBAL TEXT COLOR ================== */
body,
.about-section h1,
.about-section h2,
.about-section h3,
.about-section p,
.skills-list li,
.skill-item p,
nav a,
footer p,
footer .email-link,
footer .social-links a {
  color: var(--subtle-white) !important; /* force white for all text */
}

/* Optional: keep accents red */
.skills-list li::before {
  color: var(--accent-red);
}
 
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  background: var(--branding-color);
  color: var(--subtle-white);
  font-family: var(--heading-font-family);
  line-height: 1.6;
  position: relative;
}

h1, h2, h3 {
  font-family: var(--heading-font-family);
  font-weight: bold;
  color: #222; /* dark color for readability */
}


nav.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px;
    background: transparent;
}

.navbar ul {
    list-style: none;
    float: right;
}

nav li {
    display: inline-block;
    margin-left: 10px;
    line-height: 40px;
}

nav a {
    text-decoration: none;
    color: var(--subtle-white);
    transition: all 0.3s ease;
}

nav a:hover,
nav li.active a {
    color: var(--accent-red);
    font-weight: bold;
}

/* About Section*/
.about-section {
  padding: 4rem 0;
}

.about-section h1 {
  font-size: 2.5rem;
  color: Black;
  
}

.about-section h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: Black;
}

.about-section .intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.skills-list {
  list-style: none;
  padding-left: 0;
}

.skills-list li::before {
  content: " - ";
  color: var(--accent-red);
  margin-right: 5px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;       
  gap: 2rem;             
  margin-top: 1rem;
  justify-content: flex-start; /* align left on large screens */
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;          
  text-align: center;
}

.skill-item i {
  font-size: 2.5rem;     
  color: var(--accent-red);
  margin-bottom: 0.5rem;
}

.skill-item p {
  margin: 0;
  font-size: 1rem;
  color: #222;           /* dark text under icons */
  font-weight: bold;     
}


.profile-image {
    max-width: 100%;
    border-radius: 50%; /* Makes it a perfect circle */
    border: 4px solid var(--accent-red); /* Adds a red border using your CSS variable */
    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.2);
    object-fit: cover; /* Ensures the image scales nicely inside the circle */
    filter: grayscale(100%); /* Makes the image black and white */
    transition: filter 0.3s ease; /* optional smooth effect */
}

.profile-image:hover {
    filter: grayscale(0%);
}


/* Button */
.btn-branding {
  border-radius: 4px;
  color: var(--subtle-white);
  font-size: 1rem;
  padding: 10px 20px;
  border: 2px solid var(--subtle-white);
  background: rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-branding:hover {
  background: var(--subtle-white);
  color: var(--branding-color);
}

/* Footer*/
footer {
  background: var(--branding-color);
  padding: 2rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

footer .email-link {
  color: var(--subtle-white);
  text-decoration: none;
}

footer .email-link:hover {
  color: #ccc;
}

footer .social-links a {
  color: var(--subtle-white);
  margin: 0 20px;
  font-size: 2rem;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: var(--accent-red);
}

footer p {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

footer p a {
  color: var(--accent-red);
  text-decoration: none;
}

footer p a:hover {
  text-decoration: underline;
}

/* ================== FULL-BODY VIDEO BACKGROUND ================== */
.page-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background-color: var(--branding-color); /* black */
}

.page-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: brightness(50%);
}

@media screen and (max-width: 768px) {
  .about-section {
    text-align: center;
  }

  .about-section h1 {
    font-size: 2rem;
  }

  .about-section h2 {
    font-size: 1.3rem;
  }

  .intro-text {
    font-size: 1rem;
  }

  .profile-image {
    margin-top: 2rem;
  }
}
/* ================== MOBILE NAVBAR ================== */
@media screen and (max-width: 768px) {
    nav.navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 20;
        background: rgba(0, 0, 0, 0.85);
        padding: 10px 0;
    }

    body {
        padding-top: 70px; /* leave space for fixed navbar */
    }

    nav ul {
        float: none;
        text-align: center;
    }

    nav li {
        display: block;
        margin: 5px 0;
    }
}

