/* ========================================
   PAGES.CSS - Estilos para páginas internas
   ======================================== */

/* Page Hero Section */
.page-hero {
    margin-top: 80px;
    padding: 4rem 0 3rem;
    background: var(--gradient-3);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease;
}

.breadcrumb {
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* Logo Link Fix */
.logo a {
    text-decoration: none;
    color: inherit;
}

/* About Detail Section */
.about-detail {
    padding: 5rem 0;
    background: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image-section {
    position: sticky;
    top: 100px;
}

.profile-image {
    position: relative;
    margin-bottom: 2rem;
}

.image-placeholder-large {
    width: 100%;
    height: 500px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.image-placeholder-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.experience-badge h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.experience-badge p {
    font-size: 0.85rem;
    color: var(--text-color);
    margin: 0;
}

.quick-facts {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.quick-facts h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.quick-facts ul {
    list-style: none;
}

.quick-facts li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-color);
    font-size: 0.95rem;
}

.quick-facts li:last-child {
    border-bottom: none;
}

.quick-facts strong {
    color: var(--primary-color);
    display: inline-block;
    min-width: 100px;
}

.about-content-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.intro-text p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mv-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mv-card p {
    line-height: 1.7;
    color: var(--text-color);
}

/* Journey Timeline */
.journey-timeline {
    padding: 5rem 0;
    background: white;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 100px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0.5rem;
    position: relative;
}

.timeline-date::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px var(--light-color);
}

.timeline-item:nth-child(odd) .timeline-date::after {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-date::after {
    left: -60px;
}

.timeline-content {
    flex: 1;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 0 3rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.timeline-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Teaching Gallery */
.teaching-gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gallery-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.gallery-text .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.gallery-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.gallery-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.gallery-stat p {
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

.gallery-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 500px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Credentials Section */
.credentials {
    padding: 5rem 0;
    background: var(--light-color);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.credential-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

.credential-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.credential-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.credential-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.credential-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.credential-card .year {
    display: inline-block;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Teaching Philosophy */
.teaching-philosophy {
    padding: 5rem 0;
    background: white;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.philosophy-point {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.point-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-3);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.point-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.point-content p {
    color: var(--text-color);
    line-height: 1.7;
}

.philosophy-image {
    position: sticky;
    top: 100px;
}

.quote-card {
    background: var(--gradient-1);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.quote-icon {
    font-size: 5rem;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}

.quote-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    opacity: 0.9;
}

/* Stats Showcase */
.stats-showcase {
    padding: 5rem 0;
    background: var(--gradient-2);
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: var(--light-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.reason-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-align: center;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    background: var(--gradient-3);
    color: white;
}

.reason-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.reason-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.reason-card:hover h3 {
    color: white;
}

.reason-card p {
    line-height: 1.7;
    color: var(--text-color);
    transition: color 0.3s;
}

.reason-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Improvements */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-section {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .philosophy-content {
        grid-template-columns: 1fr;
    }

    .philosophy-image {
        position: static;
    }

    .stats-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-date {
        position: absolute;
        left: 0;
        top: 0;
        flex: none;
    }

    .timeline-date::after {
        left: 0 !important;
        right: auto !important;
    }

    .timeline-content {
        margin: 0;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .philosophy-point {
        flex-direction: column;
        text-align: center;
    }

    .point-number {
        margin: 0 auto;
    }

    .stats-grid-large {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-image {
        order: -1;
        height: 400px;
    }

    .gallery-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .image-placeholder-large {
        height: 350px;
        font-size: 7rem;
    }

    .experience-badge {
        position: static;
        margin-top: 1rem;
        padding: 1rem 1.5rem;
    }

    .experience-badge h3 {
        font-size: 2rem;
    }

    .quick-facts ul li {
        font-size: 0.9rem;
    }

    .intro-text h2 {
        font-size: 1.6rem;
    }

    .intro-text .lead {
        font-size: 1rem;
    }

    .timeline-item {
        padding-left: 0;
        padding-top: 3rem;
    }

    .timeline-date {
        font-size: 1.2rem;
    }

    .credential-card,
    .philosophy-point,
    .reason-card {
        padding: 1.5rem;
    }

    .gallery-image {
        height: 350px;
    }

    .gallery-text h2 {
        font-size: 1.8rem;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }
}