/* --- MASTER EMBROIDERY STYLESHEET --- */

:root {
    --accent-blue: #00d2ff;
}

/* --- HERO SECTION --- */
.page-header-pro.embroidery-header-bg { 
    width: 100%; 
    min-height: 60vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    overflow: hidden; 
    background: #000;
}

.embroidery-header-bg::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('./images/embroidery_image.jpg') center/cover no-repeat !important; 
    z-index: 1; 
    animation: pro-zoom 20s infinite alternate ease-in-out; 
}

.embroidery-header-bg .content-box {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* --- STATS GRID --- */
.pro-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    padding: 60px 10%; 
    background: #000; 
}

.pro-card { 
    background: #080808; 
    padding: 30px; 
    border: 1px solid #111; 
    text-align: center; 
}

.pro-card h3 { 
    color: var(--accent-blue); 
    margin-bottom: 10px; 
}

/* --- PROCESS GALLERY --- */
.process-gallery {
    padding: 80px 10%;
    background: #000;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 50px;
}

/* --- UNIFIED PROCESS CARD (With Glow & Step Numbers) --- */
.process-card {
    background: #080808;
    border: 1px solid #111;
    padding: 25px;
    position: relative;
    /* overflow: visible allows the step numbers to pop out */
    overflow: visible !important; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
}

/* THE IMAGE TAMER: Fixes the 'very big' image issue */
.process-card img {
    width: 100%;
    height: 280px;      /* Forced uniform height */
    object-fit: cover;  /* Crops image to fit without distortion */
    border-radius: 4px;
    margin-top: 15px;
    display: block;
    border: 1px solid #222;
}

.process-card h4 {
    margin-top: 20px;
    color: #fff;
}

.process-card p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
    line-height: 1.5;
}

/* Glow Effect on Hover */
.process-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
}

/* Step Number Styling */
.step-num {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--accent-blue);
    color: #000;
    font-weight: 900;
    padding: 8px 15px;
    font-size: 0.9rem;
    z-index: 50; /* Keeps number on top layer */
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border-radius: 2px;
}

/* --- FORM & GLASS PANEL --- */
.form-section { padding: 80px 5%; background: #000; display: flex; justify-content: center; }
.glass-panel { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 60px; width: 100%; max-width: 1000px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.quote-form textarea { grid-column: span 2; height: 120px; }
.glass-btn { grid-column: span 2; background: var(--accent-blue); color: #000; padding: 20px; border-radius: 8px; font-weight: 900; text-transform: uppercase; cursor: pointer; border: none; }

/* --- FOOTER --- */
.pro-footer { background: #000; padding: 80px 10% 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: #999; text-decoration: none; font-size: 0.85rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 40px; margin-top: 40px; border-top: 1px solid #111; font-size: 0.65rem; color: #444; }

/* --- MOBILE RESPONSIVE OVERRIDES --- */
@media screen and (max-width: 768px) {
    .pro-grid, .process-grid, .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .process-card img {
        height: 250px; /* Smaller images for mobile */
    }

    .glass-panel { padding: 30px 20px; }
    .quote-form { grid-template-columns: 1fr; }
    .quote-form textarea, .glass-btn { grid-column: auto; }
    
    .process-gallery { padding: 40px 5%; }
    .step-num { left: 10px; font-size: 0.8rem; }
}