/* ========================================
   PORTFOLIO STYLES - Vien Santos
   Clean, Professional, Optimized
   ======================================== */

body {
    background: #fff;
    color: #2d3748;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.hero-text .name {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text .title {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text .bio {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: #fff;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

/* ========================================
   SECTION TITLE (Global)
   ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #1a202c;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    color: #4a5568;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills {
    padding: 80px 0;
    background: #f7fafc;
}

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

.skill-category {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 20px;
}

.skill-category ul li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.skill-category ul li:last-child {
    border-bottom: none;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    padding: 80px 0;
    background: #fff;
}

.projects-grid {
    display: grid;
    gap: 50px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.project-card:nth-child(even) .project-image {
    order: 2;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #fff;
    color: #667eea;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.project-info p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: #edf2f7;
    color: #667eea;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience {
    padding: 80px 0;
    background: #f7fafc;
}

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

.timeline-item {
    position: relative;
    padding-left: 50px;
    padding-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    border: 4px solid #f7fafc;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 25px;
    width: 2px;
    height: calc(100% - 25px);
    background: #e2e8f0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 5px;
}

.timeline-content .company {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 5px;
}

.timeline-content .duration {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 15px;
}

.responsibilities {
    list-style: disc;
    padding-left: 20px;
}

.responsibilities li {
    color: #4a5568;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.contact .section-title {
    color: #fff;
}

.contact .section-title::after {
    background: #fff;
}

.contact-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Status */
.form-status {
    margin-bottom: 20px;
    padding: 18px 25px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    display: none;
    animation: slideDown 0.4s ease;
}

.form-status.success {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.35), rgba(72, 187, 120, 0.25));
    border: 3px solid #48bb78;
    color: #fff;
    display: block !important;
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.5);
}

.form-status.success i {
    font-size: 1.3rem;
    margin-right: 10px;
    animation: checkPulse 1s ease;
}

.form-status.error {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.35), rgba(245, 101, 101, 0.25));
    border: 3px solid #f56565;
    color: #fff;
    display: block !important;
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.5);
}

.form-status.error i {
    font-size: 1.3rem;
    margin-right: 10px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 15px 32px;
    background: #fff;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-btn:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-btn i {
    margin-right: 8px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.footer-location {
    font-size: 0.85rem;
    color: #a0aec0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text .name {
        font-size: 2.5rem;
    }

    .hero-text .title {
        font-size: 1.2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .project-card,
    .project-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(even) .project-image {
        order: 1;
    }
}