/* About Page Specific Styles - Minimalista */

.about-main {
    margin-top: var(--header-height);
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(
        135deg, 
        rgba(26, 26, 46, 0.671) 0%, 
        rgba(18, 18, 18, 0.8) 100%
    ), url('./recursos/header-about.jpg');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="0.3" fill="rgba(127,90,240,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
}

.hero-text {
    grid-column: 2;
    text-align: left;
    padding-left: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(127, 90, 240, 0.15);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(127, 90, 240, 0.3);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light-text), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--medium-text);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-family-primary);
    letter-spacing: 0.5px;
}

.hero-cta-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(127, 90, 240, 0.3);
}

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

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

/* Story Section */
.story-section {
    padding: 8rem 0;
    background: var(--dark-bg);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background: rgba(127, 90, 240, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.3;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
}

.quote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: rgba(127, 90, 240, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.featured-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Mission Section */
.mission-section {
    padding: 8rem 0;
    background: var(--medium-bg);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--medium-text);
}

/* Values Section */
.values-section {
    padding: 8rem 0;
    background: var(--dark-bg);
}

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

.value-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(127, 90, 240, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 1; /* Asegurar visibilidad inicial */
    transform: translateY(0); /* Estado inicial normal */
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(127, 90, 240, 0.15);
    border-color: rgba(127, 90, 240, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.value-description {
    color: var(--medium-text);
    line-height: 1.6;
    font-size: 1rem;
}

/* Experience Section */
.experience-section {
    padding: 8rem 0;
    background: var(--medium-bg);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.credentials-list {
    margin-top: 3rem;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(127, 90, 240, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.credential-item:hover {
    background: rgba(127, 90, 240, 0.1);
    transform: translateX(10px);
}

.credential-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.credential-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.credential-desc {
    color: var(--medium-text);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(135deg, var(--card-bg), rgba(127, 90, 240, 0.1));
    padding: 4rem 3rem;
    border-radius: 25px;
    border: 1px solid rgba(127, 90, 240, 0.2);
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.cta-description {
    font-size: 1.1rem;
    color: var(--medium-text);
    line-height: 1.7;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(127, 90, 240, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--medium-text);
}

.btn-secondary:hover {
    background: var(--medium-text);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Navigation active state */
.nav-link.active {
    color: var(--primary-color);
    background: rgba(127, 90, 240, 0.1);
}

/* Responsive Design */
/* Laptops y pantallas medianas */
@media (max-width: 1440px) {
    .hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
    
    .hero-description {
        font-size: 1.2rem;
        max-width: 450px;
    }
    
    .hero-text {
        padding-left: 1.5rem;
    }
}

@media (max-width: 1366px) {
    .hero-title {
        font-size: clamp(2.2rem, 3.5vw, 3rem);
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 400px;
    }
    
    .hero-text {
        padding-left: 1rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hero-text {
        grid-column: 1;
        padding-left: 0;
        text-align: center;
        max-width: 600px;
    }

    .story-grid,
    .mission-grid,
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .cta-actions {
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
    }

    .hero-text {
        padding: 0 1rem;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .story-section,
    .mission-section,
    .values-section,
    .experience-section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .cta-content {
        padding: 3rem 2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
    }

    .hero-text {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .story-section,
    .mission-section,
    .values-section,
    .experience-section {
        padding: 4rem 0;
    }

    .story-text,
    .mission-text p {
        font-size: 1rem;
    }

    .value-card {
        padding: 2rem 1rem;
    }

    .credential-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .credential-icon {
        margin: 0 auto;
    }

    .cta-content {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

/* Estados de validación de formularios */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    background-color: rgba(220, 53, 69, 0.05);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.4);
    outline: none;
}

.form-group input.error::placeholder,
.form-group textarea.error::placeholder {
    color: #dc3545;
}

/* Animación de shake para campos con error */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group input.error,
.form-group textarea.error {
    animation: shake 0.3s ease-in-out;
}

/* Sistema de notificaciones live */
.notification-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    pointer-events: none;
}

.live-notification {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.95), rgba(52, 206, 87, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    color: white;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    margin-bottom: 1rem;
    pointer-events: auto;
    cursor: pointer;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.live-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.live-notification.hide {
    transform: translateX(400px);
    opacity: 0;
}

.notification-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.notification-icon i {
    font-size: 1.5rem;
    color: white;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    color: white;
}

.notification-message {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 15px 15px;
    animation: progressBar 5s linear;
    transform-origin: left;
}

/* Notificación de error */
.live-notification.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95), rgba(181, 43, 60, 0.95));
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(220, 53, 69, 0.3);
}

/* Animaciones */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes progressBar {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Responsive para notificaciones */
@media (max-width: 768px) {
    .notification-container {
        top: 20px;
        right: 20px;
        left: 20px;
    }
    
    .live-notification {
        min-width: auto;
        width: 100%;
        transform: translateY(-100px);
    }
    
    .live-notification.show {
        transform: translateY(0);
    }
    
    .live-notification.hide {
        transform: translateY(-100px);
    }
    
    .notification-title {
        font-size: 1rem;
    }
    
    .notification-message {
        font-size: 0.85rem;
    }
}
