/* ---------------------------------------------------------
   SUNPRO HANDYMAN — PROJECT LIST GRID (3 ACROSS)
   Brand: Black / White / Gold + Wood Accents
--------------------------------------------------------- */

.pg-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 10px;
}

/* Project Card */
.pg-project-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    border: 2px solid #e6e2d8; /* subtle wood‑tone border */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

/* Hover effect — premium lift */
.pg-project-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    border-color: #d4c7a3; /* deeper wood tone */
}

/* Thumbnail */
.pg-project-item img {
    width: 100%;
    height: 150px;        /* smaller thumbnail height */
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #000;
    margin-bottom: 12px;
}

/* Project Title */
.pg-project-item h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: #000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Gold underline accent */
.pg-project-item h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: #d4af37; /* gold */
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

/* Clickable area */
.pg-project-item a {
    text-decoration: none;
    color: inherit;
}

/* ---------------------------------------------------------
   SUNPRO HANDYMAN — PROJECT SINGLE PAGE
   Brand: Black / White / Gold + Wood Accents
--------------------------------------------------------- */

/* Page wrapper */
.pg-single-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 25px;   /* ⭐ THIS is what fixes the left padding */
}

/* Title */
.pg-single-title {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Gold underline */
.pg-single-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 6px;
    background: #d4af37;
    margin: 12px auto 0 auto;
    border-radius: 3px;
}

/* Wood-tone section divider */
.pg-divider {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #c7b08a, #a68b5b, #c7b08a);
    border-radius: 3px;
    margin: 30px 0;
}

/* Hero image */
.pg-hero {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #000;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

/* Description */
.pg-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

/* Section header with hammer + square icon */
.pg-section-title {
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg-section-title::before {
    content: "🛠️";
    font-size: 26px;
}

/* Image gallery grid */
.pg-gallery-grid {
    display: grid;
    padding-left: 10px;
    padding-right: 10px;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pg-gallery-grid img {
    width: 100%;
    height: auto;              /* show full image */
    object-fit: contain;       /* no cropping */
    border-radius: 10px;
    border: 3px solid #000;
    padding: 8px;
    background: #fff;
    box-sizing: border-box;
    display: block;
}
.pg-gallery-grid {
    align-items: start;        /* prevents stretching */
}
.pg-gallery-grid img:hover {
    transform: scale(1.04);
}

/* Single Project Gallery Grid */
.pg-single-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 across */
    gap: 20px;
    max-width: 1100px; /* keeps it centered */
    margin: 30px auto; /* centers the grid */
}

.pg-single-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .pg-single-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 across on tablet */
    }
}

@media (max-width: 600px) {
    .pg-single-gallery {
        grid-template-columns: 1fr; /* 1 across on mobile */
    }
}

/* Project List Grid (Gallery Page) */
.pg-project-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 across */
    gap: 25px;
    max-width: 1100px; /* centers the grid */
    margin: 40px auto; /* centers the whole block */
}

.pg-project-card {
    text-decoration: none;
    color: inherit;
}

.pg-project-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.pg-project-title {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .pg-project-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pg-project-list {
        grid-template-columns: 1fr;
    }
}

/* Flexible, Centered Services Grid */
.pg-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

/* Each service card */
.pg-service-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Emoji styling (uniform size) */
.pg-service-emoji {
    font-size: 42px; /* consistent emoji size */
    line-height: 1;
    margin-bottom: 10px;
}

/* Title styling */
.pg-service-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}



/* Back link */
.pg-back-link {
    display: inline-block;
    margin-top: 35px;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 4px;
}

.pg-back-link:hover {
    color: #d4af37;
}

/* Responsive */
@media (max-width: 900px) {
    .pg-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pg-gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* ---------------------------------------------------------
   RESPONSIVE BEHAVIOR
--------------------------------------------------------- */

@media (max-width: 1024px) {
    .pg-project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .pg-project-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 22px;
    }
}
