/* projects.css - Enhanced styles for the projects page */

/* Projects Intro Section */
.projects-intro {
  padding: 80px 0 40px;
  text-align: center;
}

.projects-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.projects-intro h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.projects-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-medium);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.project-card {
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: all 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.completed {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.ongoing {
  background-color: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.project-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 600;
}

.project-content p {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.project-tag {
  padding: 5px 10px;
  background-color: var(--bg-light);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-medium);
  transition: all 0.3s ease;
}

.project-card:hover .project-tag {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
}

/* New Footer Fix - Making it full width */
.new-footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 0;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-brand h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-white);
}

.footer-brand span {
  color: var(--primary-light);
}

.footer-brand p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--text-white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: var(--text-light);
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Keeping original footer styles for standard pages */
footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 70px 0 20px;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.footer-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 15px;
  display: block;
  transition: var(--transition-normal);
}

.footer-logo a:hover {
  color: var(--primary-light);
}

.footer-logo span {
  color: var(--primary-light);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: var(--text-white);
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-social h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  transition: var(--transition-normal);
}

.social-icons a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .projects-intro h2 {
    font-size: 2rem;
  }
  
  .projects-intro p {
    font-size: 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .project-content h3 {
    font-size: 1.3rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links h3::after,
  .footer-contact h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .project-image {
    height: 180px;
  }
}