/* Reset and Base Styles */
/* tried to add in the full css reset, but it got rid of all my fonts?? unsure. ASK HARRY/BART */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* CSS Grid Layout */
.container {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Link Stylings */ 
.navigation a {
    text-decoration: none;
    color: #000000;
}

.navigation a:hover {
    color: #000000
}

/* Fixed Sidebar */
/* to note, vh = viewport. makes it responsive! z-index decides its stacking order. And yes, I did think 1000 was overkill until I looked it up.
Seems its pretty standard for a fixed header, so that's interesting! Also found out anything above 9999+ is an indicator of messy css! good to know.*/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background-color: #F5F5FF;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
}

/* Decorative Line */
.decorative-line {
    position: fixed;
    top: 165px;
    left: 24.36px;
    right: 22.41px;
    height: 2px;
    width: 252px;
    z-index: 1001;
}

.decorative-line svg {
    display: block;
    width: 100%;
    height: 100%;
}


/* Logo */
.logo {
    position: absolute;
    top: 24px;
    left: 9.45px;
    right: 10.35px;
    width: 280.2px;
    height: 138px;
    display: flex;
    align-items: center;
    justify-content: center; /* Makes it so when its flexed, it stays aligned properly */
}

.logo img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain; /* Makes it so that the logo remains visible, since its not a square image */
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 176px;
    left: 24px;
    width: 252px;
    height: 42px;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.language-dropdown {
    width: 203px;
    height: 42px;
    background-color: white;
    border: 1px solid #cacae5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    cursor: pointer; /* Changes the cursor when you hover over the item! */
    position: relative;
}

.flag-icon {
    width: 40px;
    height: 26px;
    object-fit: cover;
    border: 1px solid #cacae5;
    margin-right: 8px;
}

.language-text {
    font-weight: 500;
    font-size: 15px;
    color: #141414;
    flex-grow: 1;
    margin-left: 8px;
}

.language-dropdown .fa-chevron-right {
    font-size: 20px;
    color: #cacae5;
    margin-left: auto;
}

.accessibility-btn {
    width: 42px;
    height: 42px;
    background-color: white;
    border: 1px solid #cacae5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: #141414;
}

.accessibility-btn:hover {
    background-color: #f5f5ff;
}

/* Header/Navigation Menu */
.navigation {
    position: fixed;
    top: 243px;
    left: 24px;
    width: 252px;
    z-index: 1001;
}

.navigation ul {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateX(5px);
}

.nav-icon {
    font-size: 20px;
    width: 24px;
    margin-right: 20px;
    text-align: center;
}

.nav-item span {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
}

/* Navigation icon colors */
.nav-item:nth-child(1) .nav-icon {
    color: #74b1e1;
}

.nav-item:nth-child(2) .nav-icon {
    color: #5973b7;
}

.nav-item:nth-child(3) .nav-icon {
    color: #f6b3d0;
}

.nav-item:nth-child(4) .nav-icon {
    color: #9e91c5;
}

/* Decorative Clouds */
.clouds {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 276px;
    overflow: hidden;
    z-index: 1001;
    pointer-events: none; /* Overlay is visible but clicks pass through. good for decorative elements! */
}

.clouds-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

/* HOME PAGE STYLES */

/* Main Content Area */
.main-content {
    grid-column: 2;
    height: 100vh;
    overflow-y: auto;
    margin-top: 0;
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    animation: bounce 2s infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-scroll-indicator i {
    font-size: 20px;
    color: #141414;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* Content Section */
.content-section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h1 {
    font-size: 2.5rem;
    color: #141414;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.6;
}

.main-content {
margin-left: 300px;
width: calc(100% - 300px);
}

.main-content h1 {
    font-size: 2.5rem;
    color: #141414;
    margin-bottom: 20px;
}

.main-content p {
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.6;
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        margin-left: 0;
        width: 100%;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 100vh;
    }

    .main-content {
        grid-column: 1;
    }
}

/* Scrollbar Styling for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #e8e8ff;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #cacae5;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #9e91c5;
}

/* Content Section */
.content-section {
    padding: 60px 40px;
    background-color: #ffffff;
}

.content-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #141414;
}

.content-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Highlighted Works Section */
.highlighted-works-section {
  padding: 80px 60px;
  background-color: #ffffff;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  color: #141414;
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 12px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: grid;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #141414;
}

.carousel-btn:hover {
  background-color: #e5e5e5;
  transform: scale(1.05);
}

.carousel-btn i {
  font-size: 16px;
  color: #141414;
}

.works-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.works-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.work-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.work-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.work-content {
  padding: 20px;
}

.work-category {
  font-size: 12px;
  color: #666666;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.work-title {
  font-size: 18px;
  color: #141414;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.see-more-btn {
  padding: 10px 24px;
  background-color: #a891c7;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.see-more-btn:hover {
  background-color: #9379b5;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 100px;
  background-color: #f5c7d4;
  position: relative;
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.testimonials-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #9E91C5;
  margin-bottom: 5px;
  font-weight: 500;
  display: block;
}

.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-nav-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-50%) scale(1.05);
}

.testimonial-nav-btn.prev {
  left: 0px;
}

.testimonial-nav-btn.next {
  right: 0px;
}

.testimonial-nav-btn i {
  font-size: 18px;
  color: #141414;
}

.testimonial-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  margin-top: 5px;
}

.testimonial-text {
  color: #9E91C5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-company {
  font-size: 32px;
  color: #141414;
  margin-top: 0;
  margin-bottom: 8px;
}

.testimonial-role {
  font-size: 16px;
  color: #141414;
  margin-bottom: 30px;
}

.testimonial-quote {
  border: none;
  margin: 0;
  padding: 0;
}

.testimonial-quote p {
  font-size: 16px;
  line-height: 1.8;
  color: #141414;
  margin-bottom: 20px;
}

.testimonial-quote p:last-child {
  margin-bottom: 0;
}

.testimonial-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center; /* Center the image vertically */
}

.testimonial-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* About Me Section */
.about-section {
  padding: 80px 60px;
  background-color: #ffffff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  color: #141414;
  margin-bottom: 24px;
  margin-right: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #141414;
  margin-bottom: 20px;
  max-width: 700px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  width: 400px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* Footer Section */
.footer-section {
  padding: 60px 60px 40px;
  background-color: #F5F5FF;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  width: 180px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-tagline {
  font-size: 20px;
  color: #141414;
  margin: 0px 0 0 0;
  
}

.footer-pages h3,
.footer-contact h3 {
  font-size: 16px;
  color: #141414;
  margin: 0 0 16px 0;
  font-weight: 600;
}

.footer-pages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact p {
  font-size: 14px !important;
  color: #141414;
  margin: 0 0 8px 0;
}

.footer-pages li {
  margin-bottom: 8px;
}

.footer-pages a {
  color: #141414;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-pages a:hover {
  color: #a891c7;
}

/* Footer links */
.footer-pages a,
.footer-bottom a {
  color: #141414;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-pages a:hover,
.footer-bottom a:hover {
  color: #a891c7;
}

.footer-email,
.footer-phone {
  font-size: 14px;
  color: #141414;
  margin: 0 0 8px 0;
}

.footer-email a,
.footer-phone a {
  color: #141414;
  text-decoration: none;
}

.footer-email a:hover,
.footer-phone a:hover {
  color: #a891c7;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #141414;
  border-radius: 50%;
  color: #ffffff;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.footer-socials a:hover {
  background-color: #a891c7;
}

.footer-socials i {
  font-size: 16px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #d0d0dc;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #666666;
  margin: 0;
}

.footer-bottom a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #a891c7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .works-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .highlighted-works-section {
    padding: 60px 30px;
  }

  .works-carousel {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}



/* Desktop Responsive Fixes - Add these to your styles.css */

/* Testimonials Section - Make flexible for different desktop sizes */
.testimonials-section {
  padding: 80px 5%; /* Change from fixed 100px to percentage */
  background-color: #f5c7d4;
  position: relative;
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 1400px; /* Increase max-width */
  margin: 0 auto;
  padding: 0 60px;
}

.testimonial-content {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 400px); /* Make image flexible */
  gap: 60px;
  align-items: center;
  margin-top: 5px;
}

/* About Section - Make flexible */
.about-content {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 400px); /* Make image flexible */
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-image {
  width: 100%; /* Change from fixed 400px */
  max-width: 400px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Highlighted Works - Better scaling */
.highlighted-works-section {
  padding: 80px 5%; /* Change from fixed 60px to percentage */
  background-color: #ffffff;
  max-width: 1600px;
  margin: 0 auto;
}

.work-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px; /* Add minimum width */
  max-width: 450px; /* Add maximum width */
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
}

/* Footer - Better scaling */
.footer-section {
  padding: 60px 5% 40px; /* Change from fixed 60px to percentage */
  background-color: #F5F5FF;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; /* Reduce gap slightly for smaller desktops */
  max-width: 1400px;
  margin: 0 auto 40px;
}

/* Add media query for larger desktops (1440px - 2560px) */
@media screen and (min-width: 1440px) {
  .testimonials-carousel-wrapper,
  .about-content,
  .footer-content {
    max-width: 1600px;
  }
  
  .highlighted-works-section {
    max-width: 1800px;
  }
}

/* Add media query for medium desktops (1024px - 1366px) */
@media screen and (max-width: 1366px) {
  .testimonial-content {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
  
  .about-content {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
  
  .footer-content {
    gap: 40px;
  }
  
  .work-card {
    min-width: 280px;
  }
}

/* Fix for very large desktops (2560px+) */
@media screen and (min-width: 2560px) {
  .main-content {
    max-width: 2400px;
    margin-left: 300px;
    margin-right: auto;
  }
}
/* in chatgpt zetten om uit te leggen */

/* PORTFOLIO PAGE STYLES */
/* Portfolio-specific main content styling */

.main-content .section {
    margin: 60px 80px;
}

.main-content .section:first-child {
    margin-top: 80px;
}

/* section layout */
.portfolio-section-header {
    background-color: #f5f5ff;
    border: 1px solid #767676;
    border-radius: 15px 15px 0 0;
    height: 58px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 48px auto 1fr;
    align-items: center;
    gap: 17px;
    position: relative;
}

.section-title {
    font-size: 32px;
    font-weight: 500;
    color: #000000;
}

.icon-pencil,
.icon-desktop {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-nav {
    display: flex;
    gap: 13px;
    justify-self: end;
    margin-right: 16px;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow-left {
    color: #acacac;
}

.nav-arrow-right {
    color: #000000;
}

.nav-arrow:hover {
    opacity: 0.7;
}

/* content section */
.section-content {
    background-color: #ffffff;
    border: 1px solid #767676;
    border-top: none;
    border-radius: 0 0 15px 15px;
    padding: 10px 50px 25px 50px; 
    min-height: 377px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 0;
}

/* card component */
.card {
    display: grid;
    grid-template-rows: 207px auto;
    background-color: #ffffff;
}

.card-image {
    width: 100%;
    height: 207px;
    border: 3px solid #d9d9d9;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-content {
    background-color: #ffffff;
    border: 3px solid #d9d9d9;
    border-top: none;
    border-radius: 0 0 15px 15px;
    padding: 12px 15px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 10px;
}

.card-title {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 3px;
}

.card-description {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    line-height: 1.4;
}

.btn-see-more {
    background-color: #9e91c5;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background-color 0.3s ease;
    width: fit-content;
    text-decoration: none;
    display: inline-block;
}

.btn-see-more:hover {
    background-color: #8a7db3;
    color: #ffffff;
    text-decoration: none;
}

.btn-see-more:active {
    background-color: #7a6da3;
}

.btn-see-more:visited {
    color: #ffffff;
    text-decoration: none;
}

/* to make it responsive!! */
@media (max-width: 1400px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .main-content .section {
        margin: 60px 60px;
    }
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .main-content .section {
        margin: 50px 40px;
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-section-header {
        grid-template-columns: 40px auto 1fr;
        gap: 10px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-content {
        padding: 10px 20px 25px 20px;
    }
    
    .icon-pencil,
    .icon-desktop {
        font-size: 24px;
    }
    
    .main-content .section {
        margin: 40px 20px;
    }
}

@media (max-width: 480px) {
    .section-header {
        height: 48px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .nav-arrow {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    
    .main-content .section {
        margin: 30px 15px;
    }
}

/* PROJECT DETAIL PAGE STYLES */
/* Project details */
.project-detail-wrapper {
    padding: 80px 60px;
    background-color: #ffffff;
}

.project-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Images Section */
.images-section {
    padding: 0;
}

.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.image-item {
    overflow: hidden;
    border: 3px solid #d9d9d9;
    border-radius: 12px;
    background-color: #f5f5f5;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main large image - spans 2 rows on the left */
.image-main {
    grid-column: 1;
    grid-row: 1 / 3;
    height: 500px;
}

/* Small images on the right */
.image-small:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
    height: 240px;
}

.image-small:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
    height: 240px;
}

.image-small:nth-of-type(4) {
    grid-column: 1;
    grid-row: 3;
    height: 240px;
}

.image-small:nth-of-type(5) {
    grid-column: 2;
    grid-row: 3;
    height: 240px;
}

/* Text Section */
.text-section {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 400;
}

.title {
    font-size: 32px;
    font-weight: 500;
    color: #141414;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.description {
    font-size: 16px;
    line-height: 1.8;
    color: #141414;
}

.description p {
    margin-bottom: 20px;
}

.description p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .image-main {
        grid-column: 1;
        grid-row: 1;
        height: 400px;
    }
    
    .image-small:nth-of-type(2),
    .image-small:nth-of-type(3),
    .image-small:nth-of-type(4),
    .image-small:nth-of-type(5) {
        grid-column: 1;
        grid-row: auto;
        height: 200px;
    }
    
    .title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .project-detail-wrapper {
        padding: 60px 30px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .image-main {
        height: 300px;
    }
    
    .image-small {
        height: 150px;
    }
}


/* IN PROGRESS PAGE STYLES */
/* Under Construction Section */
.under-construction-section {
    min-height: calc(100vh - 350px); /* Changed from 400px to 200px */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    background-color: #ffffff;
}

.under-construction {
    text-align: center;
    max-width: 600px;
}

.under-construction i {
    font-size: 120px;
    color: #9e91c5;
    margin-bottom: 30px;
    display: block;
}

.under-construction p {
    font-size: 18px;
    line-height: 1.6;
    color: #141414;
    margin: 5px 0;
}

.under-construction p:first-of-type {
    margin-top: 0;
}