/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&family=Syne:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/boxicons/2.1.4/css/boxicons.min.css');
@import url('https://fonts.googleapis.com/css2?family=Londrina+Sketch&family=Londrina+Solid:wght@100;300;400;900&family=Tagesschrift&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
    color: #6E5084;
}

html, body {
    width: 100%;
    background-color: #f3eef7;
    height:100%;
}


.homepage{
    background-image: repeating-radial-gradient(
    ellipse at 50% 50%, 
    #f4def7 0%, 
    #d9daf4 50%, 
    #c4eaff 100%
  );
}

/* Header Navigation */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
}

.logo a{
    font-size: 18px;
    font-weight: bold;
    color: #4F7CD1;
    text-decoration: none;
}

.nav-social-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #6E5084;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
    list-style: none;
}

.social-links li {
    display: inline-block;
}

.social-links a {
    text-decoration: none;
    color: #6E5084;
    font-size: 24px;
}

.social-links a i {
    font-size: 24px;
}



/* Home Page */
.hero {
    position: absolute;
    top: 71px;
    left: 0;
    width: 100%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-box {
    width: 95%;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10%;
}


.profilephoto{
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profileimg{
    height: 500px;
    object-fit: cover;
    z-index: 0;
}

.hero-box .homeintro{
    display: grid;
    grid-template-rows: auto auto auto auto;
    padding: 40px;
    align-items: center;
    z-index: 1;
}

.homeintro1 p{
    font-family: "Londrina Sketch", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
    line-height: 0.9;

}

.homeintro2 p{
    font-family: "Londrina Solid", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
    line-height: 0.9;
}

.homeintro3 p{
    font-family: "Tagesschrift", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 1.6;
}


/* About Page */
.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 150px;
    height: auto;
    min-height: 100vh;
}

.about-content {
    max-width: 50%;
}

.about-content h1 {
    font-size: 60px;
    font-family: 'Syne', sans-serif;
    color: #4F7CD1;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
}

.about-content strong {
    font-weight: 700;
}

.about-image {
    max-width: 45%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}



/* Portfolio Page */
.portfolio-section {
    position: absolute;
    top: 71px;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('portfolio-background.jpg') no-repeat center center/cover;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.portfolio-content a{
    text-shadow: 5px 5px 10px #6d3472;
}

.portfolio-item {
    font-size: 48px;
    font-family: 'Syne', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.portfolio-item:hover {
    opacity: 0.7;
}

.gap1{
    height: 50px;
}

.gap2{
    height: 20px;
}

.gap3{
    height: 35px;
}

.gap4{
    height: 10px;
}

.gap5{
    height: 1px;
}


/* Project Page */
.project-section {
    padding: 120px 50px;
    text-align: center;
}

.project-header {
    margin-bottom: 20px;
}

.course-name {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-align: left;
}

.project-title {
    font-size: 48px;
    font-family: 'Syne', sans-serif;
    color: #4F7CD1;
    text-align: left;
}

.project-gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.project-gallery {
    width: 90%;
    position: relative;
}

.project-gallery-image {
    width: 100%;
    border-radius: 10px;
    display: flex;
    aspect-ratio: 16/9;
    overflow-x: auto;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 0.5rem;
}

.project-gallery-image img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.gallery-nav{
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.gallery-nav a{
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.gallery-nav a:hover{
    opacity: 1;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.project-description {
    max-width: 80%;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
}


/*personal project*/

.pp1-image{
    position: relative;
    
    overflow: hidden;
    width: 600px;
    height: 300px;
    margin: 10px auto;
}
.pp1-image img{
    height:100%;
}
.pp2-image{
    position: relative;
    overflow: hidden;
    width: 800px;
    height: 300px;
    margin: 10px auto;
}
.pp2-image img{
    width:100%;
}





/* Resume Page */
.resume-section {
    width: 80%;
    margin: 100px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.resume-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #4F7CD1;
    margin-bottom: 10px;
    border-bottom: 2px solid #4F7CD1;
    padding-bottom: 5px;
}

.resume-item {
    margin-bottom: 20px;
}

.resume-item a{
    font-size: 18px;
    justify-content: space-between;
    display: flex;
}

.resume-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.resume-item p {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.resume-item ul {
    padding-left: 20px;
    margin-top: 5px;
}

.resume-item ul li {
    list-style-type: disc;
    margin-bottom: 5px;
    color: #333;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    list-style: none;
}

.skills-list li {
    background: #e0e0e0;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
}

.resume-download a{
    font-size: 20px;
    font-weight: bold;
}



/* Contact Page */
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 150px;
    height: auto;
    min-height: 100vh;
}

.contact-content {
    max-width: 50%;
}

.contact-content h1 {
    font-size: 60px;
    font-family: 'Syne', sans-serif;
    color: #4F7CD1;
}

.contact-content p {
    font-size: 18px;
    line-height: 1.6;
}

.contact-content a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.contact-form {
    margin-top: 20px;
}

.contact-form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.contact-form span {
    font-size: 14px;
    color: #999;
}

.name-fields {
    display: flex;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #6E5084;
    border-radius: 5px;
}

.contact-form textarea {
    height: 100px;
}

.send-button {
    background-color: black;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}

.contact-image {
    max-width: 45%;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}



/* Blog Page */



.blog-section {
    position: absolute;
    top: 71px;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('blog-background.jpg') no-repeat center center/cover;
}

.blog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.blog-item {
    font-size: 48px;
    font-family: 'Syne', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.blog-item:hover {
    opacity: 0.7;
}

.blog-content a{
    text-shadow: 5px 5px 10px #6d3472;
}

/* Photography Gallery Page */
.photography-section {
    padding: 120px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photography {
    column-count: 3;
    column-gap: 10px;
    width: 95%;
}

.photo-gallery-item {
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    break-inside: avoid;
}

.photo-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
}

.photo-gallery-item:hover .overlay {
    opacity: 1;
}



/* Travel Blog Page */

.travel-section-main {
    padding: 70px 10px 0px 10px;
    width: 100%;
    align-items: center;
    overflow: hidden;
    height: 100vh; /* Add this */
}

.travel-section {
    padding: 120px 10px 0px 10px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.travel-section .project-gallery-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}

.travel-section .project-gallery-container img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: contain;
}

.gallery-nav_t{
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.gallery-nav_t a{
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.gallery-nav_t a:hover{
    opacity: 1;
}

.travel-background {
    position: absolute;
    left: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1);
    background-image: url("images/travel/default_travel.jpg");
    height: 100vh;
}


.travel-content {
    text-align: left;
    color: white;
    max-width: 50%;
    padding: 20px;
    z-index: 1;
    position: absolute;
    left: 10%;
    top:30%
}

.travel-content h1 {
    font-size: 48px;
    font-family: 'Syne', sans-serif;
    color: white;
}

.travel-content p {
    font-size: 18px;
    color:white

}

#travel-link {
    display: none; /* Hide initially */
}

.travel-btn {
    display: inline-block;
    background-color: white;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
}

.travel-slider {
    display: flex;
    align-items: center;
    margin-top: 20px;
    position: absolute;
    right: 5%;
    top:30%;
    width: 40%;
    overflow: auto;
}

.slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;
  align-items: center;

  /* ✅ Hide scrollbar (cross-browser) */
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE/Edge */
}

.slider::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari */
}

.slider .image{
    pointer-events: auto;
    flex: 0 0 auto;
    width: 200px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease;
    
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  pointer-events: auto;
  transition: transform 0.5s ease, opacity 0.5s ease;
}


/* When the image is the selected background */
.image.hidden {
  width: 0;
  height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: all 0.5s ease;
}

.slider img:hover {
    transform: scale(1.1);
}

.slider-buttons{
    z-index: 1;
    position: absolute;
    bottom: 5%;
    justify-content: center;
    display: flex
;
    width: 100%;
}

.slider-button{
    background: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
}


/* CNB Blog Page */
.CNB-section{
    padding: 120px 0px;
    display: flex;
    justify-content: center;
    align-items: center
}

.CNB-background{
    width: 100%;

}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 5%;
}

.recipe-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.recipe-item:hover {
    transform: scale(1.05);
}

.recipe-item img {
    width: 100%;
    height: auto;
    display: block;
}

.recipe-item h3 {
    padding: 10px;
    font-size: 18px;
    color: #4F7CD1;
}


/* Crafting Blog Page */
.crafting-section{
    padding: 120px 0px;
    display: flex;
    justify-content: center;
    align-items: center
}

.crafting-background{
    width: 100%;

}

.crafts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 5%;
}

.craft-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.craft-item:hover {
    transform: scale(1.05);
}

.craft-item img {
    width: 100%;
    height: auto;
    display: block;
}

.craft-item h3 {
    padding: 10px;
    font-size: 18px;
    color: #4F7CD1;
}



/* Girl Blog Page */
.girl-section{
    background-color: #6E5084;
    padding: 120px 10px 0px 10px;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Music Blog Page */
.collage {
    padding: 150px 50px 10px 50px;
    margin-inline: auto;
    display: grid;
    gap: 0.5rem;
    grid-template-rows: repeat(6, 1fr);
    grid-template-columns: repeat(12, 1fr);
  
    grid-template-areas:
      ".. ..   two two    two    three  four     ..       ..       ..       .. .."
      ".. one  two two    two    five   five     six      seven    eight    .. .."
      ".. ..   two two    two    five   five     thirteen thirteen thirteen .. .."
      ".. nine ten eleven eleven twelve ..       thirteen thirteen thirteen .. .."
      ".. ..   ..  eleven eleven ..     fourteen thirteen thirteen thirteen sixteen .."
      ".. ..   ..  ..     ..     ..     ..       fifteen       ..       ..       .. ..";
  }



  .collage > div {
    overflow: hidden;
    border-radius: 0.5rem;
  }
  
  .collage img {
    width: 100%;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
  }
  
  .collage img:hover {
    scale: 1.15;
    rotate: 3deg;
  }
  
  .collage :nth-child(1) {
    grid-area: one;
    border-radius: 0.5rem;
  }
  
  .collage :nth-child(2) {
    grid-area: two;
    border-radius: 0.5rem;
  }
  
  .collage :nth-child(3) {
    grid-area: three;
    border-radius: 0.5rem;
  }
  
  .collage :nth-child(4) {
    grid-area: four;
    background-color: #ffecc3;
    border-bottom-right-radius: 100%;
  }
  
  .collage :nth-child(5) {
    grid-area: five;
    border-radius: 0.5rem;
  }
  
  .collage :nth-child(6) {
    grid-area: six;
    background-color: #ccf0ee;
    border-top-right-radius: 100%;
  }
  
  .collage :nth-child(7) {
    grid-area: seven;
    border-radius: 0.5rem;
  }
  
  .collage :nth-child(8) {
    grid-area: eight;
    background-color: #cdd7f0;
    border-radius: 100%;
  }
  
  .collage :nth-child(9) {
    grid-area: nine;
    background-color: #ffdce0;
    border-top-left-radius: 100%;
  }
  
  .collage :nth-child(10) {
    grid-area: ten;
    border-radius: 0.5rem;
  }
  
  .collage :nth-child(11) {
    grid-area: eleven;
    border-radius: 0.5rem;
  }
  
  .collage :nth-child(12) {
    grid-area: twelve;
    border-radius: 0.5rem;
  }

  .collage :nth-child(13) {
    grid-area: thirteen;
    border-radius: 0.5rem;
  }
  
  .collage :nth-child(14) {
    grid-area: fourteen;
    border-radius: 0.5rem;
  }

  .collage :nth-child(15) {
    grid-area: fifteen;
    background-color: #8fe7d4;
    border-radius: 100%;
  }
  
  .collage :nth-child(16) {
    grid-area: sixteen;
    background-color: #e77a87;
    border-top-right-radius: 100%;
  }
  
