/* CSS Reset */
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600");
@import url("https://fonts.googleapis.com/css?family=Lora");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Lora:wght@400;500;600&display=swap');

/* Base Styles */
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* Portfolio Container */
.portfolio-container {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.portfolio-content {
  background-color: #ffffff;
  padding: 40px 50px;
  text-align: center;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Profile Image */
.profile-image {
  margin-bottom: 30px;
}

.profile-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.profile-background-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-image: url("../../images/background.jpg");
  background-position: center center;
  background-size: cover;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Portfolio Intro */
.portfolio-intro h1 {
  font-size: 36px;
  font-weight: 300;
  color: #333;
  margin-bottom: 25px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.portfolio-intro .highlight {
  font-weight: 700;
  color: rgb(144, 169, 89);
}

/* Portfolio Bio */
.portfolio-bio {
  margin-bottom: 20px;
}

.portfolio-bio p {
  font-family: 'Lora', serif;
  font-size: 18px;
  line-height: 1.7;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* Portfolio Links */
.portfolio-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  flex-shrink: 1;
  overflow-x: auto;
  padding-bottom: 8px;
}

.portfolio-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.portfolio-link:hover {
  color: rgb(144, 169, 89);
}

.portfolio-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: rgb(144, 169, 89);
  transition: width 0.3s ease;
}

.portfolio-link:hover::after {
  width: 100%;
}

/* Read More Button */
.portfolio-cta {
  margin-top: 20px;
}

.read-more-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: transparent;
  color: #666;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

.read-more-btn:hover {
  background-color: #f8f8f8;
  color: #333;
  border-color: #ccc;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-content {
    padding: 40px 30px;
    margin: 15px;
  }
  
  .portfolio-intro h1 {
    font-size: 28px;
    letter-spacing: 2px;
  }
  
  .profile-image img,
  .profile-background-image {
    width: 160px;
    height: 160px;
  }
  
  .portfolio-bio p {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .portfolio-content {
    padding: 30px 25px;
    margin: 10px;
  }
  
  .portfolio-intro h1 {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  .profile-image img,
  .profile-background-image {
    width: 140px;
    height: 140px;
  }
  
  .portfolio-bio p {
    font-size: 16px;
  }
  
  .read-more-btn {
    padding: 10px 25px;
    font-size: 11px;
  }
  
  .portfolio-links {
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .portfolio-link {
    font-size: 13px;
    white-space: nowrap;
  }
}