/*
=====================================================================
*   Ceevee v1.0 Layout Stylesheet
*   url: styleshout.com
*   03-18-2014
=====================================================================

   TOC:
   a. General Styles
   b. Two-Column Site Layout (Brittany Chiang-style)
   c. Sidebar / Left Panel
   d. Content Column Sections
   e. Old Header Styles (removed — sidebar replaces hero)
   f. About Section
   g. Resume Section
   h. Portfolio Section
   i. Call To Action Section
   j. Testimonials Section
   k. Contact Section
   l. Footer

===================================================================== */

/* ------------------------------------------------------------------ */
/* a. General Styles
/* ------------------------------------------------------------------ */

body { background: var(--color-bg); }

/* ------------------------------------------------------------------ */
/* b. Two-Column Site Layout
/* ------------------------------------------------------------------ */

.site-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  gap: clamp(2rem, 5vw, 6rem);
  min-height: 100vh;
}

/* ------------------------------------------------------------------ */
/* c. Sidebar (Left sticky panel)
/* ------------------------------------------------------------------ */

.sidebar-col {
  position: sticky;
  top: 0;
  height: 100vh;
  max-height: 100vh;
  width: clamp(240px, 38%, 380px);
  flex-shrink: 0;
  padding: clamp(3rem, 6vh, 5rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar-col::-webkit-scrollbar { display: none; }

/* Profile section */
.sidebar-top { flex-shrink: 0; }

.sidebar-profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
  box-shadow:
    0 0 0 2px var(--color-bg),
    0 0 0 4px rgba(255, 255, 255, 0.08);
}

.sidebar-name {
  font-family: var(--font-display) !important;
  font-size: clamp(3.6rem, 7vw, 5rem) !important;
  font-weight: 800 !important;
  color: var(--color-text) !important;
  letter-spacing: -2px !important;
  line-height: 0.95 !important;
  margin: 0 0 20px 0 !important;
}

.sidebar-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 16px 0;
  letter-spacing: 0.02em;
}

.sidebar-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 320px;
}

/* Navigation */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4rem 0 2.5rem 0;
  flex-shrink: 0;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
}

.sidebar-nav-item:hover,
.sidebar-nav-item:focus {
  color: var(--color-text-muted);
  text-decoration: none;
}

.sidebar-nav-item.active {
  color: var(--color-text);
}

/* Animated line indicator */
.nav-line {
  display: block;
  height: 1px;
  width: 28px;
  background: currentColor;
  transition: width 0.25s ease;
  flex-shrink: 0;
}

.sidebar-nav-item:hover .nav-line,
.sidebar-nav-item:focus .nav-line {
  width: 40px;
}

.sidebar-nav-item.active .nav-line {
  width: 56px;
}

/* Bottom: socials + theme toggle */
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.sidebar-social {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-social li { margin: 0; padding: 0; }

.sidebar-social a {
  font-size: 18px;
  color: var(--color-text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
}

.sidebar-social a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.sidebar-theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  color: var(--color-text-muted);
  padding: 4px;
  transition: color 0.2s ease;
  margin-bottom: 0;
}

.sidebar-theme-toggle:hover {
  color: var(--color-accent);
  background: none;
}

/* ------------------------------------------------------------------ */
/* d. Content Column
/* ------------------------------------------------------------------ */

.content-col {
  flex: 1;
  min-width: 0;
  padding: clamp(3rem, 6vh, 5rem) 0;
}

/* Sections in content column */
.content-col section {
  padding-top: clamp(3.5rem, 8vh, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg) !important;
}

.content-col section:first-child {
  padding-top: 0;
}

.content-col section:last-of-type {
  border-bottom: none;
}

/* Section inner wrapper */
.section-inner {
  max-width: 680px;
}

/* Shared section heading style */
.section-heading {
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--color-text) !important;
  margin-bottom: 2rem !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* About section details */
#about {
  overflow: visible;
}

#about p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about-details {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
}

.about-detail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-subtle);
  width: 64px;
  flex-shrink: 0;
}

.about-contact a {
  color: var(--color-secondary);
}

.btn-inline {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.btn-inline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text);
}

/* ------------------------------------------------------------------ */
/* e. Old header / nav-wrap styles (kept for backward compat / mobile)
/* ------------------------------------------------------------------ */

/* Hide old top nav */
#nav-wrap { display: none; }

/* primary navigation
--------------------------------------------------------------------- */
#nav-wrap ul, #nav-wrap li, #nav-wrap a {
	 margin: 0;
	 padding: 0;
	 border: none;
	 outline: none;
}

ul#nav {
   min-height: 48px;
   width: auto;
   text-align: center;
}
ul#nav li {
   position: relative;
   list-style: none;
   height: 48px;
   display: inline-block;
}

ul#nav li a {
   display: inline-block;
   padding: 8px 13px;
   line-height: 32px;
	text-decoration: none;
   text-align: left;
   color: rgb(103, 103, 103);
	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

ul#nav li a:active { background-color: transparent !important; }
ul#nav li.current a { color: var(--color-accent); }


/* ------------------------------------------------------------------ */
/* f. About Section (legacy selectors kept for other overrides)
/* ------------------------------------------------------------------ */

#about a, #about a:visited  { color: var(--color-secondary); }
#about a:hover, #about a:focus { color: var(--color-accent); }


/* ------------------------------------------------------------------ */
/* g. Resume Section
/* ------------------------------------------------------------------ */

#resume {
   background: transparent;
   overflow: hidden;
}

#resume a, #resume a:visited  { color: var(--color-secondary); }
#resume a:hover, #resume a:focus { color: var(--color-text); }

#resume h1 {
   font: 18px/24px 'opensans-bold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
}
#resume h1 span {
   border-bottom: 3px solid var(--color-secondary);
   padding-bottom: 6px;
}
#resume h3 {
   font: 25px/30px 'opensans-bold', sans-serif;
}

#resume .header-col { padding-top: 9px; }
#resume .main-col { padding-right: 5%; }
#education .header-col { padding-top: 9px; }
#education .main-col { padding-right: 5%; }

.work, .skill {
   margin-bottom: 0;
   padding-bottom: 0;
   border-bottom: none;
}

/* Education inside #education section: no extra bottom spacing */
#education .education {
   margin-bottom: 0;
   padding-bottom: 0;
   border-bottom: none;
}

/* Education inside #resume (legacy): keep spacing */
#resume .education {
   margin-bottom: 48px;
   padding-bottom: 24px;
   border-bottom: 1px solid rgba(255,255,255,0.06);
}

#resume .info {
   font: 16px/24px var(--font-body);
   font-style: normal;
   color: #6E7881;
   margin-bottom: 18px;
   margin-top: 9px;
}
#resume .info span {
   margin-right: 5px;
   margin-left: 5px;
}
#resume .date {
   font: 15px/24px 'opensans-regular', sans-serif;
   margin-top: 6px;
}

/*----------------------------------------------*/
/*	Skill bars
/*----------------------------------------------*/

.bars {
	width: 95%;
	float: left;
	padding: 0;
	text-align: left;
}
.bars .skills {
  	margin-top: 36px;
   list-style: none;
}
.bars li {
   position: relative;
  	margin-bottom: 60px;
  	background: #ccc;
  	height: 42px;
  	border-radius: 3px;
}
.bars li em {
	font: 15px 'opensans-bold', sans-serif;
   color: var(--color-text);
	text-transform: uppercase;
   letter-spacing: 2px;
	font-weight: normal;
   position: relative;
	top: -36px;
}
.bar-expand {
   position: absolute;
   left: 0;
   top: 0;
   margin: 0;
   padding-right: 24px;
  	background: #313131;
   display: inline-block;
  	height: 42px;
   line-height: 42px;
   border-radius: 3px 0 0 3px;
}

/* ------------------------------------------------------------------ */
/* h. Portfolio Section
/* ------------------------------------------------------------------ */

#portfolio {
   background: transparent;
}
#portfolio h1 {
   font: 15px/24px 'opensans-semibold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;
   margin-bottom: 48px;
   color: #95A3A3;
}

/* Portfolio Content */
#portfolio-wrapper .columns { margin-bottom: 36px; }
.portfolio-item .item-wrap {
   background: #fff;
   overflow: hidden;
   position: relative;
   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.portfolio-item .item-wrap a {
   display: block;
   cursor: pointer;
}

/* overlay */
.portfolio-item .item-wrap .overlay {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
   background: url(../images/overlay-bg.png) repeat;
}
.portfolio-item .item-wrap .link-icon {
   display: block;
   color: #fff;
   height: 30px;
   width: 30px;
   font-size: 18px;
   line-height: 30px;
   text-align: center;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
   position: absolute;
   top: 50%;
   left: 50%;
   margin-left: -15px;
   margin-top: -15px;
}
.portfolio-item .item-wrap img {
   vertical-align: bottom;
}
.portfolio-item .portfolio-item-meta { padding: 18px }
.portfolio-item .portfolio-item-meta h5 {
   font: 14px/21px 'opensans-bold', sans-serif;
   color: #fff;
}
.portfolio-item .portfolio-item-meta p {
   font: 12px/18px 'opensans-light', sans-serif;
   color: #c6c7c7;
   margin-bottom: 0;
}

/* on hover */
.portfolio-item:hover .overlay {
	opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}
.portfolio-item:hover .link-icon {
   opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}

/* ------------------------------------------------------------------ */
/* i. Call To Action Section
/* ------------------------------------------------------------------ */

#call-to-action {
   background: #212121;
   padding-top: 66px;
   padding-bottom: 48px;
}

/* ------------------------------------------------------------------ */
/* j. Testimonials
/* ------------------------------------------------------------------ */

#testimonials {
   background: #1F1F1F url(../images/testimonials-bg.jpg) no-repeat center center;
   background-size: cover !important;
	-webkit-background-size: cover !important;
   background-attachment: fixed;
   position: relative;
   min-height: 200px;
   width: 100%;
   overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* k. Contact Section
/* ------------------------------------------------------------------ */

#contact {
   background: transparent;
   color: var(--color-text-muted);
}
#contact .section-head { margin-bottom: 42px; }

#contact a, #contact a:visited  { color: var(--color-secondary); }
#contact a:hover, #contact a:focus { color: var(--color-text); }

#contact h1 {
   font: 18px/24px 'opensans-bold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 3px;
   color: #EBEEEE;
   margin-bottom: 6px;
}
#contact h4 {
   font: 16px/24px 'opensans-bold', sans-serif;
   color: #EBEEEE;
   margin-bottom: 6px;
}
#contact p.lead {
   font: 18px/36px 'opensans-light', sans-serif;
   padding-right: 3%;
}

/* ------------------------------------------------------------------ */
/* l. Footer
/* ------------------------------------------------------------------ */

footer {
   padding-top: 24px;
   padding-bottom: 24px;
   color: var(--color-text-subtle);
   font-size: 13px;
   text-align: center;
   position: relative;
   background: transparent;
}

footer a, footer a:visited { color: var(--color-text-muted); }
footer a:hover, footer a:focus { color: var(--color-accent); }

footer .copyright {
    margin: 0;
    padding: 0;
 }
footer .copyright li {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 24px;
}
footer .copyright li:before {
    content: "\2022";
    padding-left: 10px;
    padding-right: 10px;
    color: var(--color-text-subtle);
}
footer .copyright li:first-child:before {
    display: none;
}

footer .social-links {
   margin: 18px 0 30px 0;
   padding: 0;
   font-size: 30px;
}
footer .social-links li {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-left: 42px;
    color: var(--color-accent);
}
footer .social-links li:first-child { margin-left: 0; }

#go-top {
	position: absolute;
	top: -24px;
   left: 50%;
   margin-left: -30px;
}
#go-top a {
	text-decoration: none;
	border: 0 none;
	display: block;
	width: 60px;
	height: 60px;
	background-color: #525252;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
   color: #fff;
   font-size: 21px;
   line-height: 60px;
 	border-radius: 100%;
}
#go-top a:hover { background-color: var(--color-accent); }