/* ============================================
   Alberta Tradesman Services - Physical Builds Section
   Showcasing 16 Years of Trades Experience
   ============================================ */

/* Physical Builds Section Base */
.physical-builds-section {
    padding: var(--space-3xl) var(--container-padding);
    background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
    position: relative;
}

/* Section Header */
.physical-builds-section .section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.physical-builds-section .section-title {
    font-size: var(--text-3xl);
    color: var(--color-dark-gray);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.physical-builds-section .section-intro {
    font-size: var(--text-lg);
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.physical-builds-section .section-intro strong {
    color: var(--color-orange);
}

/* Trades Skills */
.trades-skills {
    margin-bottom: var(--space-3xl);
}

.skills-title {
    text-align: center;
    font-size: var(--text-2xl);
    color: var(--color-dark-gray);
    margin-bottom: var(--space-2xl);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.skill-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.skill-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    display: block;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
}

.skill-card h4 {
    color: var(--color-dark-gray);
    margin-bottom: var(--space-sm);
    font-size: var(--text-lg);
}

.skill-card p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* Gallery Section */
.builds-gallery {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    border: 2px solid var(--gray-200);
}

.gallery-title {
    text-align: center;
    font-size: var(--text-2xl);
    color: var(--color-dark-gray);
    margin-bottom: var(--space-md);
}

.gallery-intro {
    text-align: center;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.gallery-placeholder {
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.gallery-placeholder:hover {
    border-color: var(--color-orange);
    background: var(--gradient-soft);
}

.placeholder-content {
    position: relative;
    z-index: 1;
}

.placeholder-icon {
    display: block;
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.gallery-placeholder h4 {
    color: var(--color-dark-gray);
    margin-bottom: var(--space-sm);
}

.gallery-placeholder p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.coming-soon {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-orange);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
}

/* Trades to Tech Connection */
.trades-to-tech {
    margin-bottom: var(--space-3xl);
}

.connection-title {
    text-align: center;
    font-size: var(--text-2xl);
    color: var(--color-dark-gray);
    margin-bottom: var(--space-2xl);
}

.connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.connection-card {
    background: white;
    border: 2px solid var(--color-blue-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.connection-card:hover {
    border-color: var(--color-sky-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.connection-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-200);
}

.trades-icon,
.tech-icon {
    font-size: var(--text-2xl);
}

.arrow {
    color: var(--color-orange);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-xl);
}

.connection-card h4 {
    color: var(--color-dark-gray);
    margin-bottom: var(--space-sm);
    font-size: var(--text-lg);
}

.connection-card p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* Physical Builds CTA */
.physical-builds-cta {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    text-align: center;
}

.physical-builds-cta .cta-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
}

.physical-builds-cta .cta-text {
    font-size: var(--text-lg);
    opacity: 0.95;
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.physical-builds-cta .cta-text strong {
    font-weight: var(--font-weight-semibold);
}

.physical-builds-cta .cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Gallery Styles */
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gallery-item {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-orange);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-image {
    transition: transform var(--transition-base);
}

.gallery-caption {
    padding: var(--space-lg);
    background: white;
}

.gallery-caption h4 {
    color: var(--color-dark-gray);
    margin-bottom: var(--space-xs);
    font-size: var(--text-base);
}

.gallery-caption p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.project-date {
    display: inline-block;
    padding: 2px var(--space-sm);
    background: var(--color-blue-light);
    color: var(--color-blue-dark);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
}

/* Lightbox for future gallery */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    padding: var(--space-xl);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: var(--text-3xl);
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .connection-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .physical-builds-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .connection-grid {
        grid-template-columns: 1fr;
    }

    .physical-builds-cta {
        padding: var(--space-2xl);
    }

    .physical-builds-cta .cta-buttons {
        flex-direction: column;
    }

    .physical-builds-cta .btn-large {
        width: 100%;
    }

    .physical-builds-section .section-title {
        font-size: var(--text-2xl);
    }

    .connection-header {
        font-size: var(--text-lg);
    }
}

@media (max-width: 400px) {
    .physical-builds-section .section-title {
        font-size: var(--text-xl);
    }

    .skills-title,
    .gallery-title,
    .connection-title {
        font-size: var(--text-lg);
    }

    .placeholder-icon {
        font-size: var(--text-3xl);
    }
}