/*======================
  GLOBAL VARIABLES & RESET
======================*/
:root {
  --darkpink: #f090ac;
  --lightpink: #f9c3d1;
  --shadow: rgba(0,0,0,0.2);
  --gradient: linear-gradient(to bottom, #f090ac 0%, #f3a0b6 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 160px;
  font-size: 62.5%;
  height: 100%;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  height: 100%;
  background-color: #ffe4ef;
  background-image: url("/img/bg.svg");
  background-size: 1500px;
  line-height: 1.6;
}



/*======================
  HEADER & NAV
======================*/
.header-banner {
  background: var(--gradient);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 30px 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-title {
  font-family: "Sigmar", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  flex: 1;
  min-width: 200px;
  line-height: 1.2;
}

.header-socials {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.header-socials a {
  color: #fff;
  font-size: 2.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.header-socials a:hover {
  background-color: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.main-nav {
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--darkpink);
  background-color: rgba(255,105,180,0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--darkpink);
  transition: width 0.3s ease;
}

.nav-link:hover::after { width: 80%; }




/*======================
  LAYOUT
======================*/
.content-wrapper {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

.main-content {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 140px;
  align-self: flex-start;
  height: fit-content;
}

.sidebar-card {
  background-color: rgba(255,255,255,0.95);
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}




/*======================
  CARDS
======================*/
.card {
  width: 100%;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  background-color: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card h2 { color: #333; padding: 1rem; font-size: 2.5rem; }
.cardText {
  font-size: 1.4rem;
  text-align: left;
  color: #444;
  line-height: 1.7;
  margin: 0;
}

.date {
  font-style: italic;
  font-size: 0.875rem;
  color: #666;
}

/*======================
  SIDEBAR ELEMENTS
======================*/
.profile-picture-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--darkpink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-picture { width: 100%; height: 100%; object-fit: cover; cursor: pointer; display: block; }

.profile-picture-container.empty::before {
  content: '📷';
  font-size: 3.75rem;
  color: #ccc;
  position: absolute;
  z-index: 1;
}
.profile-picture-container.empty .profile-picture { opacity: 0; }

.sidebar-card h2 { color: #333; font-size: 2rem; padding: 1rem; }
.sidebar-text { text-align: left; color: #444; line-height: 1.7; font-size: 1.4rem;}

/* Portfolio Navigation */
.projects-nav { text-align: left; }
.projects-nav h2 { text-align: center; margin-bottom: 15px; }
.projects-links { display: flex; flex-direction: column; gap: 10px; }
.projects-link {
  display: flex; flex-direction: column; padding: 12px;
  text-decoration: none; color: #333;
  background-color: rgba(255,105,180,0.05);
  border-radius: 8px; border: 1px solid rgba(255,105,180,0.2);
  transition: all 0.3s ease; cursor: pointer;
}
.projects-link:hover {
  background-color: rgba(255,105,180,0.1);
  border-color: rgba(255,105,180,0.4);
  color: var(--darkpink);
}
.projects-title { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.projects-link:hover .projects-date { color: var(--darkpink); }

/*======================
  IMAGES & MODALS
======================*/
.cardImg {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
}

.image-modal {
  display: none;
  position: fixed; z-index: 1000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.95);
  overflow: auto;
  animation: fadeIn 0.3s;
}
.image-modal.active { display: flex; justify-content: center; align-items: center; }

.image-modal-content {
  margin: auto;
  display: block;
  max-width: 90%; max-height: 90%;
  width: auto; height: auto;
  animation: zoomIn 0.3s;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.image-modal-close {
  position: absolute; top: 20px; right: 35px;
  color: #fff; font-size: 2.5rem; font-weight: bold;
  cursor: pointer; transition: color 0.3s ease;
  z-index: 1001;
}
.image-modal-close:hover { color: var(--darkpink); }

@keyframes fadeIn { from {opacity:0;} to{opacity:1;} }
@keyframes zoomIn { from{transform:scale(0.8);opacity:0;} to{transform:scale(1);opacity:1;} }

/*======================
  SOCIAL LINKS
======================*/
.social { height:35px;width:35px;margin:0 8px;border-radius:50%;transition:transform 0.2s ease,opacity 0.2s ease; }
.social:hover { transform: scale(1.1); opacity: 0.8; }
.social-links { display:flex; justify-content:center; align-items:center; margin:15px 0; }

/*======================
  FOOTER
======================*/
footer {
  background: var(--gradient);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  height: 6rem; width: 100%;
  display:flex; 
  flex-direction:column; 
  align-content: center; 
  justify-content: center;
  flex:1 0 auto; 
}
footer p { color: #fff; font-size:2rem; text-align:center; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }

/*======================
  RESUME
======================*/
.work-item { display: grid; grid-template-columns: 1fr 3fr; column-gap: 50px; row-gap: 20px; }
.work-summary { align-self: center; }
.work-details h3, h4, p { text-align:right; }
.work-details h3 { font-size: 1.7rem; }
.work-details h4 { font-size: 1.4rem; }
.work-details p { font-size: 1.4rem; }
.sigmar-regular { font-family: "Sigmar", sans-serif; font-weight: 400; font-style: normal; }

/*======================
  CAT GALLERY
======================*/

.catImg {
  height: 40rem;
  width: 100%;
  object-fit: cover;
}

/*======================
  MEDIA QUERIES
======================*/
@media screen and (min-width:1920px){
  .content-wrapper{max-width:1500px;gap:25px;}
  .main-content{max-width:1000px;}
  .sidebar{width:300px;}
}

@media screen and (min-width:2560px){
  .content-wrapper{max-width:1600px;gap:30px;}
  .main-content{max-width:1100px;}
  .sidebar{width:320px;}
}

@media screen and (max-width:1400px){
  .content-wrapper{flex-direction:column;gap:20px;padding:2rem;}
  .sidebar{width:100%;position:relative;top:0;}
  .main-content{max-width:100%;}
  .profile-picture-container{width:150px;height:150px;}
  .card:last-child { margin-bottom: 0;}
}

@media screen and (max-width:600px){
  .content-wrapper{padding:10px;}
  .sidebar-card{padding:20px;}
  .profile-picture-container{width:120px;height:120px;}
  .banner-content{flex-direction:column;gap:15px;}
  .site-title{font-size:2rem;}
  .header-socials a{font-size:1.25rem;width:35px;height:35px;}
  .main-nav{padding:12px 15px;gap:15px;}
  .nav-link{font-size:1rem;padding:6px 15px;}
  .image-modal-close{top:10px;right:15px;font-size:1.875rem;}
  .image-modal-content{max-width:95%;max-height:95%;}
}
