@import url('global.css');

/* Background Video */
.bg-video4 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-video4 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(1.2);
}

.contact-options {
    margin-top: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Form Section */
.contact-form-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(79, 179, 217, 0.2);
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-header h2 {
    color: var(--seafoam);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.8rem;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card,
.social-card,
.faq-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(79, 179, 217, 0.2);
}

.contact-card h3,
.social-card h3,
.faq-card h3 {
    color: var(--seafoam);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(79, 179, 217, 0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--seafoam), var(--ocean-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--seafoam);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-size: 0.95rem;
}

/* Social Links */
.social-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(79, 179, 217, 0.3);
}

.social-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.social-link.facebook:hover { border-color: #1877f2; }
.social-link.instagram:hover { border-color: #e4405f; }
.social-link.twitter:hover { border-color: #1da1f2; }
.social-link.youtube:hover { border-color: #ff0000; }
.social-link.linkedin:hover { border-color: #0077b5; }

/* FAQ Items */
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(79, 179, 217, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    color: var(--seafoam);
    margin-bottom: 8px;
    font-size: 1rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

/* Mobile Small (até 480px) */
@media (max-width: 480px) {
    .contact-options {
        margin-top: 30px;
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form-section {
        padding: 20px;
        border-radius: 15px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .form-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .about-content {
        margin-top: 20px;
        padding: 0;
    }
    
    .about-section {
        padding: 15px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .about-section h3 {
        font-size: 1.1rem;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        justify-items: center;
    }
    
    .skill-item {
        padding: 8px;
        text-align: center;
        width: 100%;
    }
    
    .skill-item i {
        font-size: 1.3rem;
    }
    
    .skill-item span {
        font-size: 0.8rem;
    }
    
    .project-card {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .project-tags {
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .contact-info-section {
        gap: 15px;
        width: 100%;
    }
    
    .contact-card, .social-card, .faq-card {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 10px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-link {
        padding: 10px 12px;
        justify-content: center;
    }
}

/* Mobile Medium (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .contact-options {
        padding: 0 1.5rem;
    }
    
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-form-section {
        padding: 30px;
        text-align: center;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
    
    .about-section {
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        justify-items: center;
    }
    
    .project-tags {
        justify-content: center;
    }
    
    .contact-info-section {
        gap: 20px;
    }
}

/* Mobile Large / Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }
    
    .contact-form-section,
    .contact-info-section {
        width: 100%;
    }
    
    .about-section {
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
    }
    
    .project-tags {
        justify-content: center;
    }
}

/* ========================================
   ABOUT PAGE SPECIFIC STYLES
   ======================================== */

.about-content {
    margin-top: 30px;
}

.about-section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(79, 179, 217, 0.2);
}

.about-section h3 {
    color: var(--ocean-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-section p {
    line-height: 1.7;
    color: var(--text-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(79, 179, 217, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(79, 179, 217, 0.3);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(79, 179, 217, 0.2);
    transform: translateY(-3px);
}

.skill-item i {
    font-size: 2rem;
    color: var(--ocean-blue);
    margin-bottom: 8px;
}

.skill-item span {
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(79, 179, 217, 0.2);
    margin-top: 15px;
}

.project-card h4 {
    color: var(--ocean-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.project-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: linear-gradient(135deg, var(--ocean-blue), var(--deep-blue));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Enhanced Social Links for About Page */
.social-link.github {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-link.email {
    background: linear-gradient(135deg, #ea4335, #d33b2c);
}