﻿/* ============================================
   TRAINING PAGE STYLES
   ============================================ */

/* Page Header */
.training-page-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Benefits Section */
.training-benefits {
    background: linear-gradient(135deg, #f5f1ed 0%, #e8e0d5 100%);
    border-radius: 5px;
    padding: 2rem;
}

.benefit-card {
    background: white;
    border-radius: 5px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .benefit-card:hover {
        border-color: #705542;
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(112, 85, 66, 0.15);
    }

    .benefit-card svg {
        color: #705542;
        margin-bottom: 1rem;
    }

    .benefit-card h5 {
        color: #705542;
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .benefit-card p {
        color: #6c757d;
        font-size: 0.9rem;
        margin: 0;
    }

/* Training Cards */
.training-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #f5f1ed;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .training-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
        border-color: #705542;
    }

/* Category Badge */
.training-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    .training-category-badge.bakery {
        background: linear-gradient(135deg, #8b6f47, #a0826d);
        color: white;
    }

    .training-category-badge.pastry {
        background: linear-gradient(135deg, #705542, #8b6f47);
        color: white;
    }

    .training-category-badge.both {
        background: linear-gradient(135deg, #e65100, #ff9800);
        color: white;
    }

/* Training Image */
.training-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

    .training-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.training-card:hover .training-image img {
    transform: scale(1.1);
}

.training-video-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

/* Training Info */
.training-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-title {
    color: #705542;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.training-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

/* Training Meta */
.training-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f5f1ed;
}

.training-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f8f9fa;
    padding: 0.4rem 0.75rem;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

    .training-meta-item svg {
        color: #705542;
    }

/* Instructor */
.training-instructor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #705542;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

    .training-instructor svg {
        color: #8b6f47;
    }

/* Training Footer */
.training-footer {
    margin-top: auto;
}

.training-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.price-value {
    color: #705542;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.price-label {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.btn-training-enroll {
    background: linear-gradient(135deg, #705542, #8b6f47);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(112, 85, 66, 0.3);
    text-decoration: none;
    width: 100%;
}

    .btn-training-enroll:hover {
        background: linear-gradient(135deg, #8b6f47, #705542);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(112, 85, 66, 0.4);
        color: white;
    }

    .btn-training-enroll svg {
        transition: transform 0.3s ease;
    }

    .btn-training-enroll:hover svg {
        transform: translateX(3px);
    }

/* Login Prompt */
.training-login-prompt {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
    color: #1976d2;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .training-login-prompt svg {
        flex-shrink: 0;
    }

    .training-login-prompt a {
        color: #1565c0;
        font-weight: 700;
        text-decoration: none;
    }

        .training-login-prompt a:hover {
            text-decoration: underline;
        }

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 5px;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.why-card {
    text-align: center;
    padding: 1.5rem;
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.2);
}

    .why-icon svg {
        color: #e65100;
    }

.why-card h4 {
    color: #e65100;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: #5d4037;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .training-benefits {
        padding: 1.5rem;
    }

    .benefit-card {
        padding: 1rem;
    }

        .benefit-card h5 {
            font-size: 1rem;
        }

        .benefit-card p {
            font-size: 0.85rem;
        }

    .training-image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .training-page-subtitle {
        font-size: 1rem;
    }

    .training-benefits {
        padding: 1rem;
    }

    .benefit-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

        .benefit-card svg {
            width: 24px;
            height: 24px;
        }

        .benefit-card h5 {
            font-size: 0.9rem;
        }

    .training-title {
        font-size: 1.1rem;
    }

    .training-description {
        font-size: 0.9rem;
    }

    .training-image {
        height: 180px;
    }

    .why-choose-section {
        padding: 2rem 1rem;
    }

    .why-icon {
        width: 60px;
        height: 60px;
    }

        .why-icon svg {
            width: 32px;
            height: 32px;
        }

    .why-card h4 {
        font-size: 1.1rem;
    }
}


