/*
 * project-detail.css - Styles for the single project detail page
 */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Project Hero Section */
.page-hero {
  position: relative;
  background: url('../images/build1.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 150px 20px 80px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.726); /* درجة التعتيم */
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(112, 112, 112, 0.822) 100%);
  z-index: 2;
}


.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 1;
}


/* Project Details Section */
.project-details-section {
    padding: 80px 0;
}

.project-details-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.project-description {
    flex: 2;
    min-width: 300px;
}

.project-description h2 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000000;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #070707;
    margin-bottom: 20px;
}

.project-meta {
    flex: 1;
    background-color: #252525;
    padding: 30px;
    border-radius: 20px;
    min-width: 280px;
    align-self: flex-start; /* Aligns to top */
}

.project-meta h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f5f3f3;
}

.project-meta ul {
    list-style: none;
    padding: 0;
    color: white;
}

.project-meta li {
    margin-bottom: 15px;
    font-size: 1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.project-meta li:last-child {
    border-bottom: none;
}

.project-meta strong {
    display: block;
    color: #fcf9f9;
    margin-bottom: 5px;
}

.cta-button {
    display: block;
    background-color: #ff6a00;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e65c00;
}

/* Project Gallery Section */
.project-gallery {
    padding: 0 0 80px 0;
}

.project-gallery h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

