/* ===== Viviana Portfolio Theme ===== */

/* Color palette from gradient background */
:root{
  --blue-purple: #7462be;
  --flower-purple: #93199f;
  --tangerine: #fd8660;
  --pink: #f0658d;
  --orange-red-pink: #fb416d;
  --purple-pink: #d75ea5;
  --orange-pink: #fe6967;
  
  /* neutrals */
  --white: #ffffff;
  --black: #000000;
  --light-gray: #f5f5f5;
  --shadow: 0 8px 24px rgba(0,0,0,.18);
  --radius: 14px;
}

/* ---- Base ---- */
html, body {
  background: var(--white);
  color: var(--black);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Remove Quarto's default spacing */
#quarto-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

main.content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hide only the default title elements that Quarto generates */
.quarto-title {
  display: none !important;
}

#title-block-header {
  display: none !important;
}

header#title-block-header {
  display: none !important;
}

h1, h2, h3, h4, h5, h6{
  font-family: "Merriweather", Georgia, serif;
  letter-spacing: .2px;
  margin-top: 1.2em;
  margin-bottom: .4em;
  color: var(--black);
}

/* Links */
a{
  color: var(--blue-purple);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
a:hover{ color: var(--flower-purple); border-color: var(--flower-purple); }

/* ====== HERO SECTION WITH BACKGROUND IMAGE ====== */
.hero-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100vh;
  background-image: url('../images/background.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 0;
  margin-bottom: 0;
  z-index: 1;
}

/* Push hero section to start at top of page */
#quarto-content {
  padding-top: 0 !important;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-top: 0;
}

.hero-subtitle {
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.hero-icons a:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.5);
}

.hero-icons svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

/* Main content container */
.content-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 2vw;  /* smaller left-right padding */
}


/* ====== BIOGRAPHY SECTION ====== */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 2fr;  /* lets image scale with screen size */
  gap: 3rem;
  max-width: 1600px; /* slightly larger */
  margin: 3rem auto;
}

.bio-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.bio-text {
  font-size: 1.05rem;
  line-height: 1.8;
}

.bio-text p {
  margin-bottom: 1.2rem;
}

@media (max-width: 900px) {
  .bio-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .bio-image img {
    max-width: 350px;
    margin: 0 auto;
    display: block;
  }
}

/* ====== PHOTO GRID ====== */
.full-bleed-grid {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.photo-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.photo-grid > p,
.photo-grid > figure { 
  margin: 0 !important; 
}

.photo-grid img{
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 540px){
  .photo-grid{ grid-template-columns: 1fr; }
}

/* ====== ABOUT SECTION ====== */
.about-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.about-card{
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple-pink) 100%);
  color: var(--white);
  border: none;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-card h3{ 
  margin-top: 0; 
  color: var(--white); 
  font-size: 1.4rem;
}

.about-card a{ 
  color: var(--white); 
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.about-card a:hover{ 
  border-bottom-color: var(--white);
}

@media (max-width: 720px){
  .about-grid{ grid-template-columns: 1fr; }
}

/* ====== SKILLS SECTION ====== */
.skills-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  grid-auto-rows: minmax(140px, auto);
  gap: 1.25rem;
  align-items: stretch;
  margin: 2rem 0;
}

.skill-wide{
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.skill-card{
  background: linear-gradient(135deg, var(--blue-purple) 0%, var(--flower-purple) 100%);
  color: var(--white);
  border: none;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.skill-card h3{ 
  color: var(--white); 
  margin-top: 0;
  font-size: 1.2rem;
}

.skill-card p{ 
  margin: .5rem 0 0;
  opacity: 0.95;
}

.skill-card ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
}

.skill-card li {
  margin-bottom: 0.5rem;
}

@media (max-width: 1000px){
  .skills-grid{ grid-template-columns: repeat(2, 1fr); }
  .skill-wide{ grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 640px){
  .skills-grid{ grid-template-columns: 1fr; }
}

/* ====== SECTION STYLING ====== */
.band {
  margin: 3rem 0;
  padding: 0;
}

.band h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

/* Connect section */
.band-rose {
  background: linear-gradient(135deg, var(--tangerine) 0%, var(--orange-pink) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  margin: 3rem 0;
  box-shadow: var(--shadow);
}

.band-rose h2 { 
  color: var(--white); 
}

.band-rose a { 
  color: var(--white); 
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.band-rose a:hover { 
  border-bottom-color: var(--white);
}

/* Code blocks */
pre, code { 
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; 
}

pre { 
  background: var(--light-gray);
  color: var(--black);
  border-radius: 12px; 
  padding: 1rem;
  border: 1px solid #e0e0e0;
}

/* Horizontal rule */
hr { 
  border: none; 
  height: 2px; 
  background: linear-gradient(90deg, var(--pink), var(--blue-purple));
  border-radius: 2px; 
  margin: 2rem 0; 
}

/* ====== NAVBAR STYLING ====== */
.navbar, #quarto-header {
  background: var(--black) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar .navbar-brand, 
.navbar .navbar-nav .nav-link,
#quarto-header .navbar-brand,
#quarto-header .navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  letter-spacing: .2px;
  transition: color .2s ease;
}

.navbar .nav-link:hover,
#quarto-header .nav-link:hover {
  color: var(--pink) !important;
}

.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"],
#quarto-header .nav-link.active,
#quarto-header .nav-link[aria-current="page"] {
  color: var(--tangerine) !important;
}

/* Navbar icons */
.navbar .navbar-nav .nav-item i,
#quarto-header .navbar-nav .nav-item i {
  color: var(--white) !important;
}

.navbar .navbar-nav .nav-item:hover i,
#quarto-header .navbar-nav .nav-item:hover i {
  color: var(--pink) !important;
}