/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Partículas de fondo */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.3;
}

/* Animación del título principal */
.title-word {
    animation: color-animation 4s linear infinite;
}

.title-word-1 {
    --color-1: #DF8453;
    --color-2: #3D8DAE;
    --color-3: #E4A9A8;
}

.title-word-2 {
    --color-1: #DBAD4A;
    --color-2: #ACCFCB;
    --color-3: #17494D;
}

.title-word-3 {
    --color-1: #ACCFCB;
    --color-2: #E4A9A8;
    --color-3: #ACCFCB;
}

@keyframes color-animation {
    0%    {color: var(--color-1)}
    32%   {color: var(--color-1)}
    33%   {color: var(--color-2)}
    65%   {color: var(--color-2)}
    66%   {color: var(--color-3)}
    99%   {color: var(--color-3)}
    100%  {color: var(--color-1)}
}

/* Animación del subtítulo */
.animate-subtitle {
    animation: fadeInUp 2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efectos de parallax */
.parallax-section {
    transform: translateZ(0);
    will-change: transform;
}

/* Efectos de hover mejorados */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

/* Animaciones de scroll mejoradas */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Efectos de escala */
.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Efectos de rotación */
.rotate-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: all 0.6s ease;
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    position: relative;
    z-index: 1;
    background: rgba(248, 249, 250, 0.95);
}

.biography {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.profile-section {
    display: flex;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.profile-image {
    flex-shrink: 0;
    margin-right: 40px;
}

.image-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.profile-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.intro {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.8;
}

/* Biography Content */
.biography-content {
    padding: 40px;
}

.biography-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #495057;
    line-height: 1.8;
}

.biography-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Education Section */
.education-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #667eea;
}

.education-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.education-section ul {
    list-style: none;
    padding: 0;
}

.education-section li {
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
    font-size: 1.1rem;
    color: #495057;
}

.education-section li:last-child {
    border-bottom: none;
}

.education-section strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Recognition Section */
.recognition {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #ffc107;
}

.recognition h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #856404;
    margin-bottom: 15px;
}

.recognition p {
    color: #856404;
    margin-bottom: 0;
}

/* Mission Section */
.mission {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #17a2b8;
}

.mission h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #0c5460;
    margin-bottom: 15px;
}

.mission p {
    color: #0c5460;
    margin-bottom: 0;
    font-style: italic;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .profile-image {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .image-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .profile-info h2 {
        font-size: 2rem;
    }
    
    .biography-content {
        padding: 30px 20px;
    }
    
    .education-section,
    .recognition,
    .mission {
        padding: 20px;
        margin: 20px 0;
    }
    
    .education-section h3,
    .recognition h3,
    .mission h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 60px 0;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Services Section */
.services {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.services-intro {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
}

.service-card.featured::before {
    content: "⭐ Destacado";
    position: absolute;
    top: -10px;
    right: 20px;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    border-radius: 8px;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    color: #495057;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f3f4;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

/* Location Info */
.location-info {
    margin: 50px 0;
}

.location-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border-left: 4px solid #ffc107;
    max-width: 500px;
    margin: 0 auto;
}

.location-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.location-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #856404;
    margin-bottom: 15px;
}

.location-card p {
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.location-note {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    border-left: 4px solid #17a2b8;
}

.contact-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #0c5460;
    margin-bottom: 15px;
}

.contact-section p {
    color: #0c5460;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.contact-info p {
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin: 0;
    font-size: 0.95rem;
}

.contact-info strong {
    color: #0c5460;
    font-weight: 600;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-header h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-price {
        font-size: 1.3rem;
    }
    
    .location-card {
        margin: 0 20px;
        padding: 25px 20px;
    }
    
    .contact-section {
        margin: 50px 20px 0;
        padding: 30px 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .location-card {
        padding: 20px 15px;
    }
    
    .contact-section {
        padding: 25px 15px;
    }
} 