/*
 * projects.css - Styles for the Projects page
 * This file relies on the shared styles from style.css
 */

/* General container, hero styles are inherited from about.css if linked, or can be redefined here */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Hero Section - Consistent with about.html */
.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;
}


/* Projects Gallery Section */
.projects-gallery-section {
    padding: 80px 0;
    background-color:none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-gallery-card {
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.project-image-placeholder {
    height: 250px;
    background-color: #e0e0e0; /* Fallback color */
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000;
}

.project-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-info a {
    color: #ff6a00;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}