/* =============================================================
   Plezer Construction — Custom Stylesheet
   Supplements Tailwind utilities.
   ============================================================= */

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { box-shadow: inset 0 0 5px grey; }
::-webkit-scrollbar-thumb { background: grey; border-radius: 2px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #1f2937;
}

/* ---------- Image Slider (hero + testimonials) ---------- */
.pc-slider-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.pc-slider-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* 3 slides visible on ≥ 768px, 1 on mobile */
.pc-slide {
    flex: 0 0 calc(100% / 3);
    min-width: calc(100% / 3);
    padding: 0 8px;
}

@media (max-width: 767px) {
    .pc-slide {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 0 4px;
    }
}

.pc-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
    border: 2px solid #e5e7eb;
    height: 384px;          /* h-96 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    background: #f9fafb;    /* bg-gray-50 */
}

.testimonial-card figcaption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #895194;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #895194;
    font-size: 1.25rem;
}

.testimonial-name {
    font-size: 0.9rem;
    color: #1f2937;
}

.testimonial-role {
    font-size: 0.75rem;
    color: #7CB7DF;
    font-weight: 300;
}

.testimonial-comment {
    font-size: 0.85rem;
    font-weight: 600;
    color: #895194;
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .testimonial-comment { font-size: 1.1rem; }
}

.testimonial-body {
    font-size: 0.75rem;
    color: #7CB7DF;
    text-align: justify;
    max-width: 28rem;
}

@media (min-width: 1024px) {
    .testimonial-body { font-size: 1.1rem; }
}

/* ---------- Image Gallery (replaces react-pageflip) ---------- */
.gallery-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.gallery-img-frame {
    max-width: 420px;
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #fff;
    padding: 1rem;
}

.gallery-img-frame img {
    max-height: 380px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
}

.gallery-btn {
    padding: 0.5rem 1rem;
    min-width: 7rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #895194;
    background: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

@media (min-width: 768px) {
    .gallery-btn { font-size: 1.5rem; min-width: 10rem; }
}

.gallery-btn:hover {
    background: #f3f4f6;
}

.gallery-counter {
    font-size: 0.875rem;
    color: #1f2937;
}

@media (min-width: 768px) {
    .gallery-counter { font-size: 1.5rem; }
}

/* ---------- Count Animation ---------- */
.count-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.count-label {
    font-size: 0.75rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .count-label { font-size: 1.25rem; }
}

.count-value {
    font-family: 'Inter', monospace;
    font-size: 1.125rem;
    display: flex;
    gap: 0.25rem;
    align-items: center;
    color: #7CB7DF;
}

@media (min-width: 1280px) {
    .count-value { font-size: 3rem; }
}

/* ---------- About — animated list items ---------- */
.animated-list-item {
    display: block;
    min-width: 220px;
    padding: 0.25rem 0.5rem;
    background-color: #7CB7DF;
    color: #fff;
    border-radius: 0.5rem;
    border: 2px solid #895194;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .animated-list-item {
        min-width: 600px;
        transform: skewX(-12deg);
    }
}

.animated-list-item:hover {
    transform: scale(1.05);
}

/* ---------- Brochure Download Button ---------- */
.brochure-btn {
    padding: 0.5rem 1rem;
    background: #895194;
    color: #fff;
    border-radius: 0.5rem;
    font-size: 1.875rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.brochure-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

/* ---------- Contact clickable rows ---------- */
.contact-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 0;
    cursor: pointer;
    transition: color 0.2s;
}

.contact-row:hover { color: #895194; }

/* ---------- Utility ---------- */
.mix-blend-darken  { mix-blend-mode: darken; }
.mix-blend-multiply { mix-blend-mode: multiply; }
