/*
Theme Name: Tema Andre Bezerra
Theme URI: http://profandrebezerra.com.br
Author: Andre Bezerra
Author URI: https://http://profandrebezerra.com.br
Description: Tema WordPress personalizado para o Prof. André Bezerra.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, academic
Text Domain: andrebezerra
*/

:root {
    --primary-color: #004a8f;
    --secondary-color: #00a5e3;
    --accent-color: #76b900;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --text-color: #444;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Main Content Styles */
main {
    margin-top: 80px; /* Adjust if header height changes */
    min-height: calc(100vh - 180px); /* Adjust if header/footer height changes */
}

section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

/* Hero Section */
#home {
    background: linear-gradient(rgba(0, 74, 143, 0.8), rgba(0, 74, 143, 0.9)), url('<?php echo get_template_directory_uri(); ?>/assets/images/placeholder-1200x600.jpg') center/cover no-repeat;
    /* Placeholder for image, to be replaced or managed via WordPress */
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 30px;
    border: 5px solid var(--accent-color);
    /* Placeholder for image, to be replaced or managed via WordPress */
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #65a100;
    transform: translateY(-3px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     /* Placeholder for image, to be replaced or managed via WordPress */
}

/* Research Section */
.research-item {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.research-item:hover {
    transform: translateY(-5px);
}

.research-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.research-list {
    list-style-position: inside;
    margin: 15px 0;
}

.research-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.research-list li::before {
    content: "\2022"; /* Using a standard bullet point, can be customized */
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Publications Section */
.publications-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1rem;
}

.publication-tabs {
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Teaching Section */
.teaching-tabs {
    margin-top: 30px;
}

.course-list {
    list-style-type: none;
    margin-bottom: 20px;
}

.course-list li {
    padding: 15px;
    margin-bottom: 10px;
    background-color: white;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Human Resources Section */
.hr-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* YouTube Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-details h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

/* Social Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.impact-card {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Collaboration Section */
.collab-info {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.opportunities-list {
    list-style-type: none;
}

.opportunities-list li {
    background-color: white;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.opportunities-list li h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Interactive Resources */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::after {
    right: -10px;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: bold;
}

/* Publications Dashboard */
.dashboard {
    height: 400px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 40px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .timeline-left::after, .timeline-right::after {
        left: 15px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        height: 0;
        overflow: hidden;
        transition: height 0.3s;
    }
    
    nav.active {
        height: auto; /* Will be controlled by JS */
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

