/* css/project-detail.css - Single Project Detail Showcase Styles */

body.light-bg {
  background-color: #FAFAFA !important;
  color: var(--darker-green) !important;
}

.project-page-container {
  padding-top: 132px;
  padding-bottom: 96px;
}

.project-page-title {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  color: var(--darker-green);
  margin-bottom: 28px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* 2-Column Grid Layout */
.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

/* Left Sidebar Meta Info */
.project-sidebar {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-block {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid rgba(1, 12, 5, 0.1);
}

.sidebar-label {
  font-size: 12px;
  color: rgba(1, 12, 5, 0.5);
  margin-bottom: 2px;
  font-weight: 400;
}

.sidebar-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--darker-green);
  line-height: 1.45;
}

.sidebar-value .tag-item {
  display: block;
}

.btn-visit-project {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: var(--darker-green);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(198, 221, 83, 0.3);
  width: fit-content;
}

.btn-visit-project:hover {
  transform: translateY(-2px);
  background-color: var(--darker-green);
  color: var(--accent);
}

/* Right Main Content Body */
.project-content-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #222222;
}

.project-content-body img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.project-content-body p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(1, 12, 5, 0.68);
}

.project-content-body h2,
.project-content-body h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--darker-green);
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Otros Proyectos Section */
.other-projects-section {
  background-color: #FAFAFA;
  padding: 64px 0 100px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.other-projects-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--darker-green);
  margin-top: 12px;
  margin-bottom: 48px;
  letter-spacing: -1px;
}

.other-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.other-project-card {
  padding: 18px;
}

.other-card-img {
  height: 180px;
}

@media (max-width: 900px) {
  .project-page-container {
    padding-top: 108px;
    padding-bottom: 72px;
  }

  .project-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .project-sidebar {
    position: static;
  }

  .project-page-title {
    margin-bottom: 22px;
  }

  #project-cta-wrapper {
    margin-top: 18px !important;
  }

  .project-content-body {
    gap: 22px;
  }

  .project-content-body img {
    border-radius: 8px;
  }

  .project-content-body p {
    font-size: 14px;
  }

  .other-projects-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid rgba(1, 12, 5, 0.1);
    border-radius: 12px;
    overflow: hidden;
  }

  .other-project-card {
    padding: 18px;
    border: 0;
    border-bottom: 1px solid rgba(1, 12, 5, 0.1);
    border-radius: 0;
  }

  .other-project-card:last-child {
    border-bottom: 0;
  }

  .other-card-client {
    margin-bottom: 16px;
  }

  .other-card-img {
    height: 128px;
    border-radius: 8px;
  }
}

.other-project-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: var(--darker-green);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.other-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.other-card-tag {
  font-size: 13px;
  color: rgba(0,0,0,0.5);
  margin-bottom: 8px;
}

.other-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.other-card-client {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  margin-bottom: 24px;
}

.other-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
}

/* Contact Banner Section */
.project-contact-banner {
  padding: 32px 0 100px;
  background-color: #FAFAFA;
}

.banner-card {
  background-color: var(--dark-green);
  border-radius: 32px;
  padding: 60px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .banner-card {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 40px;
  }
}

.banner-tag {
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  font-weight: 600;
}

.banner-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 16px;
}

.banner-title .accent-text {
  color: var(--accent);
}

.banner-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

.banner-profile {
  background: rgba(0, 0, 0, 0.25);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  font-size: 18px;
  font-weight: 600;
}

.profile-handle {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.profile-email {
  margin-bottom: 24px;
}

.profile-email span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  display: block;
}

.email-link {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  display: block;
  margin: 4px 0 8px;
}

.email-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.profile-actions {
  display: flex;
  gap: 12px;
}

.btn-banner-cta {
  background: var(--accent);
  color: var(--darker-green);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-banner-cta:hover {
  background: var(--white);
}

.btn-banner-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-banner-outline:hover {
  background: rgba(255,255,255,0.1);
}
