/* ================================================
   Instructor Profile Page - "Galeria do Artista"
   Energia: Conexão, Autoridade Serena e Convite à Exploração
   ================================================ */

:root {
    --bg-primary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    --accent-color: #feaf50;
}

/* Container Principal */
.instructor-profile-container {
    color: var(--text-primary);
}

/* Section Divider */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 80px auto;
    max-width: 1100px;
}

/* ================================================
   Componente 1: Header de Apresentação
   ================================================ */
.instructor-header {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(20, 20, 20, 0.8) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    position: relative;
    overflow: hidden;
}

.instructor-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%,
        rgba(254, 175, 80, 0.1) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.instructor-header-container {
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 24px;
}

/* Foto como badge (substituindo o product-tag) */
.instructor-photo-badge {
    display: inline-block;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(254, 175, 80, 0.3);
}

.instructor-photo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
}

.instructor-photo-badge .photo-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(254, 175, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 3rem;
}

/* Nome do instrutor (como título do produto) */
.instructor-header h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

/* Focus statement (como slogan do produto) */
.instructor-focus-statement {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    margin-top: 0;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Label "Aqui na Software Zen, ensina:" (como product-author) */
.instructor-label {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-style: italic;
}

/* Botão CTA */
.instructor-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e69a3f 100%);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 32px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.instructor-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(254, 175, 80, 0.4);
    color: var(--bg-primary);
    text-decoration: none;
}

.instructor-cta-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.instructor-cta-btn:hover i {
    transform: translateY(2px);
}

/* ================================================
   Componente 2: Seção "A Jornada e a Prática"
   ================================================ */
.instructor-bio-section {
    max-width: 1100px;
    margin: 0 auto 80px auto;
    padding: 0 40px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.instructor-bio-section.visible {
    display: block;
    opacity: 1;
}

.instructor-bio-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.bio-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 1.4rem;
    margin-bottom: 2.1rem;
}

.bio-point-card {
    padding: 1.75rem;
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
    min-height: 140px;
}

.bio-point-card:hover {
    transform: translateY(-6px);
    border-color: rgba(254, 175, 80, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.bio-point-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.bio-point-header h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.bio-point-icon {
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bio-point-icon i {
    color: var(--bg-primary);
    font-size: 0.9rem;
}

.bio-point-content h3 {
    font-size: 0.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.bio-point-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.91rem;
    line-height: 1.6;
}

.instructor-bio-section {
    text-align: center;
}

.bio-points-grid {
    text-align: left;
}

.networking-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid rgba(254, 175, 80, 0.3);
    border-radius: 8px;
    color: #feaf50;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.networking-btn:hover {
    background: rgba(254, 175, 80, 0.1);
    border-color: #feaf50;
    color: #feaf50;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(254, 175, 80, 0.2);
    text-decoration: none;
}

.networking-btn i {
    font-size: 1.25rem;
}

/* ================================================
   Componente 3: Seção de Livros
   ================================================ */
.instructor-books-section {
    max-width: 1100px;
    margin: 0 auto 80px auto;
    padding: 0 40px;
}

/* ================================================
   Componente 4: Seção "Jornadas Conduzidas"
   ================================================ */
.instructor-journeys-section {
    max-width: 1100px;
    margin: 0 auto 80px auto;
    padding: 0 40px;
}

.instructor-journeys-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.instructor-journeys-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.instructor-journeys-section .carousel-controls {
    display: flex;
    gap: 8px;
}

.instructor-journeys-section .carousel-prev,
.instructor-journeys-section .carousel-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructor-journeys-section .carousel-prev:hover,
.instructor-journeys-section .carousel-next:hover {
    background: rgba(254, 175, 80, 0.1);
    border-color: rgba(254, 175, 80, 0.3);
    color: var(--accent-color);
}

.journeys-carousel-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.journeys-carousel {
    display: flex;
    gap: 24px;
    padding-bottom: 16px;
}

.journeys-carousel .product-card {
    flex-shrink: 0;
    width: 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.journeys-carousel .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(254, 175, 80, 0.3);
}

.journeys-carousel .product-image-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.5);
}

.journeys-carousel .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(10, 10, 10, 0.5);
}

.journeys-carousel .product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 175, 80, 0.1) 0%, rgba(254, 175, 80, 0.05) 100%);
}

.journeys-carousel .product-actions {
    padding: 0 16px 16px 16px;
    display: flex;
    gap: 8px;
}

.journeys-carousel .action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.journeys-carousel .action-btn.primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e69a3f 100%);
    color: var(--bg-primary);
}

.journeys-carousel .action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 175, 80, 0.4);
    color: var(--bg-primary);
    text-decoration: none;
}

.journeys-carousel .action-btn.secondary {
    background: transparent;
    border: 2px solid rgba(254, 175, 80, 0.3);
    color: #feaf50;
}

.journeys-carousel .action-btn.secondary:hover {
    background: rgba(254, 175, 80, 0.1);
    border-color: #feaf50;
    color: #feaf50;
    text-decoration: none;
}

/* ================================================
   Componente 5: Seção "Explore as Ideias"
   ================================================ */
.instructor-ideas-section {
    max-width: 1100px;
    margin: 0 auto 80px auto;
    padding: 0 40px;
}

.instructor-ideas-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.instructor-ideas-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Barra de Filtros */
.idea-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.filter-group.search-filter-group {
    flex: 2;
    min-width: 300px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-search,
.filter-select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-search:focus,
.filter-select:focus {
    outline: none;
    border-color: rgba(254, 175, 80, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.filter-select {
    cursor: pointer;
}

/* Grade de Ideias */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Botão Carregar Mais */
.load-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.load-more-btn {
    padding: 14px 32px;
    background: transparent;
    border: 2px solid rgba(254, 175, 80, 0.3);
    border-radius: 8px;
    color: #feaf50;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover:not(:disabled) {
    background: rgba(254, 175, 80, 0.1);
    border-color: #feaf50;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ideas-count-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Mensagem de Nenhum Resultado */
.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-results-message i {
    font-size: 4rem;
    color: rgba(254, 175, 80, 0.3);
    margin-bottom: 24px;
}

.no-results-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.no-results-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* ================================================
   Responsividade
   ================================================ */
@media (max-width: 768px) {
    .instructor-header h1 {
        font-size: 2.5rem;
    }

    .instructor-focus-statement {
        font-size: 1.3rem;
    }

    .instructor-photo-badge img,
    .instructor-photo-badge .photo-placeholder {
        width: 100px;
        height: 100px;
    }

    .instructor-photo-badge .photo-placeholder {
        font-size: 2.5rem;
    }

    .bio-points-grid {
        grid-template-columns: 1fr;
    }

    .idea-filters-container {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .ideas-grid {
        grid-template-columns: 1fr;
    }

    .section-divider {
        margin: 60px 0;
    }
}
