/* =========================
   ROOT VARIABLES (DARK/LIGHT)
   ========================= */
:root {
  --text: #efeeea;
  --accent: #ff1a1a;
  --hover: #cfceee;
  --shade: rgba(8, 8, 8, 0.96);
  --shadeFade: rgba(8, 8, 8, 0);
  --font-brand: "Boldonse", system-ui;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  outline: none;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--text); 
}

body {
  color: var(--text);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

/* =========================
   SECTION 1: HERO (100vh)
   ========================= */
#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.bg-video {
  position: fixed; 
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.45) contrast(1.08) saturate(1.05);
  transition: filter 0.4s ease;
}

.video-dark {
  filter: brightness(0.05) contrast(1.08) saturate(1.05);
}

.overlay {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.overlay-top {
  top: 0;
  height: 50vh;
  background: linear-gradient(to bottom, var(--shade), var(--shadeFade));
}

.nav {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 100px;
  text-transform: uppercase;
  z-index: 10;
}
.nav a {
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 1vw, 5rem);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav a:hover { color: var(--hover); }

.brand {
  position: absolute;
  left: 24px;
  bottom: 10px;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 5rem);
  color: var(--accent);
  z-index: 10;
  mix-blend-mode: difference;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 10;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
  40% {transform: translateX(-50%) translateY(-10px);}
  60% {transform: translateX(-50%) translateY(-5px);}
}


/* =========================
   SECTION 2: ABOUT ME
   ========================= */
#about-preview {
  position: relative;
  background-color: #ffffff; /* Bright white background */
  color: #000000; /* Black text */
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 100px 5%;
  z-index: 5; 
}

.about-container {
  width: 100%;
  max-width: 900px; 
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* --- Header Block: Image + PNG Logo --- */
.about-header-block {
  display: flex;
  align-items: center; 
  gap: 40px;
}

.about-image {
  flex: 0 0 320px; 
}
.about-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* --- New Image Logo Styling --- */
.about-title-block {
  display: flex;
  align-items: center;
  width: 100%;
}

.brand-logo-img {
  width: 100%;
  max-width: 550px; 
  height: auto;
  display: block;
}

/* Hide mobile logo on large screens */
.mobile-logo { display: none; }

/* --- Get In Touch Link --- */
.cta-wrapper {
  display: flex;
  justify-content: flex-end; 
  width: 100%;
}

.get-in-touch {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 8vw, 1.15rem);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.get-in-touch:hover {
  color: #000000;
  border-color: #000000;
}

/* --- Content Block --- */
.about-content-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 2%;
  padding-right: 5%; 
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-brand);
  font-size: clamp(1rem, 8vw, 1.5rem);
  color: #000000;
  margin-bottom: 0;
  line-height: 2;
  
}

.skills-text {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 8vw, 1.15rem);
  font-weight: 300;
  color: #000000;
  margin: 0;
}

.body-text {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 8vw, 1.15rem);
  line-height: 1.4;
  color: #000000;
  margin: 0;
  font-weight: 300;
  text-align: left;
  margin-bottom: 16px;
}

#label {
  font-weight: 700;
}

.highlight-text {
  color: #000000;
  font-weight: 700;
}

.highlight-text-red {
  font-weight: 700;
}

.achievement { margin-bottom: 16px; }

.ach-title {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 8vw, 1.15rem);
  font-weight: 700;
  color: #000000;
  margin: 0 0 4px 0;
}
#ach-event {
  font-weight: 300;
  font-size: 1rem;
  color: #000000;
}

.ach-role {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: #000000;
  margin: 0;
  font-weight: 300;
  font-style: italic;
}

.section-divider {
  border: none;
  border-top: 2px solid #000000; /* Makes it a solid black line */
  width: 100%;
  margin: 16px 0 16px 0; /* Gives it breathing room (top and bottom) */
}

.contact-link {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 8vw, 1.25rem);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-link:hover {
  color: #000000;
}

.number-link {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 8vw, 1.25rem);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 2px;
}

/* =========================
   EMAIL SECTION
   ========================= */
.contact-section {
  display: flex;
  align-items: center; /* Vertically centers the icon and the text */
  gap: 20px; /* Creates a perfect gap between the icon and the email address */
  margin-bottom: 12px; /* Adds a little breathing room if it's below a title */
}

/* The Email Icon */
/* Targets both the email and phone icons */
#email, #phone {
  width: 20px; 
  height: 20px;
  object-fit: contain;
}

.socials {
  width: 36px; 
  height: 36px;
  transition: opacity 0.3s ease;
}

.socials:hover{
  opacity: 80%;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  background-color: #080808; /* Dark anchor for the bottom of the site */
  padding: 40px 5%;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separating line */
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.footer-container {
  width: 100%;
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(239, 238, 234, 0.6); /* Slightly faded white so it isn't distracting */
}

/* Mobile Layout for Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 24px;
  }
  
  .footer-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }
}



/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
  .nav { gap: 40px; }
}

@media (max-width: 768px) {
  #hero {
    position: relative;
    height: 100dvh; 
    width: 100%;
    overflow: hidden;
  }

  .nav {
    position: absolute;
    top: 36px;
    right: 24px;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 36px;
  }

  .brand { left: 16px; bottom: 24px; }
  .scroll-indicator { bottom: 90px; }

  #about-preview { padding: 60px 24px; }
  .about-container { gap: 30px; }

/* Inside your @media (max-width: 768px) block... */

  /* Inside your @media (max-width: 768px) block... */

  .about-header-block {
    position: relative; /* Creates a boundary for the overlapping logo */
    display: flex;
    align-items: center;
    margin-bottom: 30px; /* Gives space before the content below */
  }

  .about-image { 
    flex: 0 0 65%; /* Portrait takes up 65% of the left side */
    max-width: none;
    position: relative;
    z-index: 1; /* Forces the portrait to the bottom layer */
  }

  .about-image img {
  width: 80%;
  display: block;
  object-fit: cover;
  }

  .about-title-block {
    position: absolute; /* Rips the logo out of the normal flow */
    right: 0;           /* Pins it to the right edge of the screen */
    top: 50%;           /* Pushes it down to the middle */
    transform: translateY(-50%); /* Perfectly centers it vertically */
    width: 60%;         /* Makes it wide enough to stretch over the portrait */
    z-index: 2;         /* Forces the logo to the TOP layer! */
  }

  /* Swap which logo is visible */
  .desktop-logo { display: none; }
  .mobile-logo { display: block; width: 100%; }
 

  .about-content-block { padding-right: 0; }
}
