/* ==========================================================================
   Workshop / The Forge Staging Page Styles (Castle Man Studio)
   Theme: Under Development / Active Forging Vault
   ========================================================================== */

/* 0. Section Base Reset for Workshop Page (Strict Clamped Spacing) */
.workshop-hero-section,
.workshop-preview-section,
.workshop-cta-section {
    min-height: auto !important;
    display: block !important;
    padding: 3rem 0 !important; /* py-12 md:py-16 */
    position: relative;
    z-index: 5;
    background: transparent !important;
}

/* 1. Hero: The Forge Chambers */
.workshop-hero-section {
    padding: 7rem 0 2rem 0 !important;
    text-align: center;
}

.workshop-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(201, 169, 109, 0.1);
    border: 1px solid rgba(201, 169, 109, 0.35);
    padding: 0.4rem 1.15rem;
    border-radius: 999px;
    margin-bottom: 1.3rem;
}

.workshop-status-badge span {
    font-size: 0.76rem;
    letter-spacing: 0.28em;
    color: #ffffff;
    font-weight: 700;
}

.workshop-hero-title {
    font-size: clamp(2.3rem, 4.8vw, 3.8rem);
    letter-spacing: 0.12em;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.workshop-hero-subtitle {
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    max-width: 860px;
    margin: 0 auto;
}

/* 2. Preview Cards (What's Being Forged - 3 Cards Grid) */
.workshop-preview-section {
    padding: 2.5rem 0 3.5rem 0 !important;
}

.workshop-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.workshop-card {
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2.8rem 2.2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.workshop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 109, 0.7), transparent);
    opacity: 0.6;
    transition: opacity 0.25s ease;
}

.workshop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.35);
    background: #1C1F26;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.06);
}

.workshop-card:hover::before {
    opacity: 1;
}

.workshop-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c9a96d;
    font-weight: 600;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid rgba(201, 169, 109, 0.25);
    padding-bottom: 0.4rem;
    width: fit-content;
}

.workshop-card-title {
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 1.1rem;
    line-height: 1.3;
}

.workshop-card-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

/* 3. Notification & Call to Action Card */
.workshop-cta-section {
    padding: 2rem 0 4rem 0 !important;
}

.workshop-cta-card {
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 3.8rem 3rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.workshop-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 109, 0.85), transparent);
}

.workshop-cta-heading {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.workshop-cta-subtext {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 740px;
    margin: 0 auto 2.4rem auto;
}

.workshop-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

/* Sharp Rectangle Buttons (border-radius: 0px !important, matching Master Spec) */
.btn-sharp-primary,
.btn-sharp-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: transparent;
    color: #ffffff;
    padding: 0.95rem 2.4rem;
    min-height: 48px;
    border-radius: 0px !important;
    border: 2px solid #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sharp-primary::after,
.btn-sharp-secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -160%;
    width: 80%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 5;
    transition: none;
}

.btn-sharp-primary:hover::after,
.btn-sharp-secondary:hover::after {
    left: 180%;
    transition: left 0.75s ease-in-out;
}

.btn-sharp-primary:hover,
.btn-sharp-secondary:hover {
    background: #ffffff;
    color: #0E1013;
    border-color: #ffffff;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.35), 0 15px 30px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

.btn-sharp-primary svg,
.btn-sharp-primary i,
.btn-sharp-secondary svg,
.btn-sharp-secondary i {
    color: inherit;
    transition: color 0.25s ease;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .workshop-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .workshop-hero-section {
        padding: 5.5rem 0 2rem 0 !important;
    }
    .workshop-card,
    .workshop-cta-card {
        padding: 2.5rem 1.6rem;
    }
    .workshop-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .workshop-cta-actions .btn-sharp-primary,
    .workshop-cta-actions .btn-sharp-secondary {
        width: 100%;
        text-align: center;
    }
}

