/*
Theme Name: Vivek Sadiram Portfolio
Theme URI: https://viveksadiram.com
Author: Vivek Sadiram
Author URI: https://viveksadiram.com
Description: Bare-metal custom portfolio theme. Zero bloat. Mathematically perfect.
Version: 1.0.0
Text Domain: vivek-portfolio
*/

/* 
  InBio Color Engine: Pure CSS variables.
  Mimicking their signature Neumorphic Light/Dark palettes.
*/
:root {
  --bg-color: #ecf0f3;
  --text-main: #3c3e41;
  --text-muted: #878e99;
  --accent-color: #ff014f;
  
  /* Light Mode Neumorphic Shadows */
  --shadow-base: 5px 5px 15px #d1d9e6, -5px -5px 15px #ffffff;
  --shadow-inner: inset 5px 5px 15px #d1d9e6, inset -5px -5px 15px #ffffff;
  --box-bg: linear-gradient(145deg, #e2e8ec, #ffffff);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #212428;
    --text-main: #c4cfde;
    --text-muted: #878e99;
    --accent-color: #ff014f;
    
    /* Dark Mode Neumorphic Shadows */
    --shadow-base: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    --shadow-inner: inset 10px 10px 19px #1c1e22, inset -10px -10px 19px #262a2e;
    --box-bg: linear-gradient(145deg, #1e2024, #23272b);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
  width: 100%;
  padding: 2rem 0;
  z-index: 100;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--accent-color);
}

/* =========================================
   HERO SECTION
========================================= */
.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  flex-grow: 1;
}

/* Left Side: Content */
.hero-content {
  flex: 1;
  max-width: 60%;
}

.subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.title span {
  color: var(--accent-color);
}

.description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 90%;
}

/* InBio Style Action Blocks */
.hero-actions {
  display: flex;
  gap: 4rem;
}

.action-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-main);
}

.btn-row {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: var(--box-bg);
  box-shadow: var(--shadow-base);
  border: none;
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-btn:hover {
  box-shadow: var(--shadow-inner);
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* Right Side: Image Placeholder */
.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image-inner {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/5;
  background: var(--box-bg);
  box-shadow: var(--shadow-base);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.image-placeholder-text {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 992px) {
  /* Header Mobile */
  .header-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .site-nav ul {
    justify-content: center; /* Mathematical centering for inline items */
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  /* Hero Mobile */
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .title {
    font-size: 2.5rem;
  }

  .description {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .action-group {
    align-items: center;
  }

  .btn-row {
    justify-content: center;
  }

  .hero-image-wrapper {
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
  }
}