@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
body, html {
    height: 100%;
    background: #231F20;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (steve.jpeg). This will make the text easier to read */
  background-image: url("hero.jpg");

  /* Set a specific height */
  height: 100vh;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */


  .container-fluid {
    padding-top: 70px;
    padding-bottom: 70px;
    color: white;
    font-family: poppins;
  }

.hover:hover .img-responsive {
  opacity: 0.3;
}

.hover:hover .img {
  opacity: 0.3;
}


.bg-b {
  background: #231F20;
  color: #bdbdbd;
}
.bg-w h3 {color: #fff;}
.bg-w p {color: #fff;}

.bg-w= {
  background: #fff;
  color: #2d2d30;
}
.bg-w h3 {color: #2d2d30;}
.bg-w p {color: #2d2d30;}

.logo{
    bottom: 100px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
    color: white;
    font-family: Poppins;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  padding: 40px 0;
}

.projects-grid > :nth-child(1),
.projects-grid > :nth-child(2) {
  grid-column: span 3;
}

.projects-grid > :nth-child(3),
.projects-grid > :nth-child(4),
.projects-grid > :nth-child(5) {
  grid-column: span 2;
}

.projects-grid > :only-child {
  grid-column: 1 / -1;
}

/* Project Card Styling */
.project-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  height: 400px;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.project-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 20px;
  background: #2d2d30;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info h3 {
  color: #fff;
  margin: 0 0 10px 0;
  font-size: 20px;
  font-family: Poppins;
}

.project-info p {
  color: #bdbdbd;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.view-text {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: Poppins;
}

/* PDF Modal Styling */
.pdf-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pdf-modal-content {
  background-color: #2d2d30;
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  max-height: 800px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.pdf-close {
  color: white;
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-bottom: 15px;
}

.pdf-close:hover,
.pdf-close:focus {
  color: #ff6b6b;
}

.pdf-viewer-container {
  flex: 1;
  overflow: auto;
  border-radius: 4px;
  background: white;
}

.pdf-viewer {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
}

/* Design Viewer Page */
.design-viewer-container {
  background: #231F20;
  min-height: 100vh;
  padding: 20px;
}

.design-header {
  background: #2d2d30;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.back-button {
  background: #3d3d3d;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-family: Poppins;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

.back-button:hover {
  background: #4d4d50;
  transform: translateX(-5px);
  text-decoration: none;
  color: white;
}

.design-header h1 {
  color: white;
  margin: 0;
  font-family: Poppins;
  font-size: 36px;
}

.design-content {
  background: #2d2d30;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.design-images {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.design-image {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .pdf-modal-content {
    margin: 20% auto;
    height: 70vh;
    padding: 20px;
  }
  
  .pdf-close {
    font-size: 24px;
  }
}


