/*
Theme Name: Astra Child Portfolio
Template: astra
Author: Antigravity
Description: A dark, minimalist child theme for Astra featuring an ASCII animation hero section and vertical navigation.
Version: 1.0.0
*/

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

:root {
  --color-black: #000000;
  --color-dark-grey: #111111;
  --color-amber: #C8863A;
  --color-white: #FFFFFF;
  --color-ascii: #333333;
  --sidebar-width: 250px;
}

body, html {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.amber-text {
  color: var(--color-amber);
}

/* Reset Astra */
.ast-container {
  max-width: none !important;
  padding: 0 !important;
}

.site-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Navigation */
.vertical-sidebar {
  width: var(--sidebar-width);
  background-color: var(--color-black);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  z-index: 100;
}

.site-branding .logo {
  color: var(--color-white);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.sidebar-nav {
  margin-top: 5rem;
  flex-grow: 1;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav .current-menu-item a {
  color: var(--color-amber);
}

.social-links {
  margin-top: auto;
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--color-white);
  transition: color 0.3s ease;
  opacity: 0.6;
}

.social-links a:hover {
  color: var(--color-amber);
  opacity: 1;
}

/* Main Content Area */
.site-content {
  margin-left: var(--sidebar-width);
  flex-grow: 1;
  width: calc(100% - var(--sidebar-width));
}

/* Custom Front Page */
.hero-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 8%;
  z-index: 10;
  background: linear-gradient(90deg, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero-left .intro {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-left h1 {
  font-size: 5.5rem;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  letter-spacing: -1px;
}

.hero-left .subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

canvas#ascii-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

/* Page Layout for inner pages */
.page-wrap {
  padding: 6rem 8%;
  max-width: 1000px;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(200, 134, 58, 0.3);
  padding-bottom: 1rem;
}

/* Typography styles for content */
.page-wrap p {
  color: #CCCCCC;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.page-wrap h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: var(--color-white);
}

.page-wrap h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--color-amber);
}

.section-divider {
  text-align: center;
  margin: 4rem 0;
  color: var(--color-amber);
  opacity: 0.5;
  font-size: 2rem;
  letter-spacing: 10px;
}
.section-divider::before {
  content: '+ + +';
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .site-wrapper {
    flex-direction: column;
  }
  .vertical-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .sidebar-nav {
    margin-top: 0;
    display: none;
  }
  .social-links {
    margin-top: 0;
  }
  .site-content {
    margin-left: 0;
    width: 100%;
  }
  .hero-wrapper {
    flex-direction: column;
    height: calc(100vh - 80px);
  }
  .hero-left {
    padding: 3rem 2rem;
    background: rgba(0,0,0,0.85);
    flex: 1.5;
  }
  .hero-left h1 {
    font-size: 3.5rem;
  }
  .hero-right {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
}
