/* ===== CONTACT PAGE - PROFESSIONAL & MINIMAL ===== */

/* Hero Section */
.contact-hero {
    padding: 80px 20px 40px;
    text-align: center;
}

.contact-hero-content .main-name {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #0f0, #0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.6s ease;
}

.contact-hero-content .role {
    font-size: 1.1rem;
    color: #0ff;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease;
}

.hero-decoration {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0ff, #f0f);
    margin: 20px auto 0;
    animation: expandWidth 1s ease forwards;
}

/* Contact Section */
.contact-section {
    padding: 20px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 24px;
    padding: 32px;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-3px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.info-icon i {
    font-size: 1.3rem;
    color: #0ff;
}

.info-card h3 {
    color: #0ff;
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.info-card p {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.timezone {
    font-size: 0.7rem;
    color: #666;
}

.info-link {
    color: #0ff;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.info-link:hover {
    gap: 8px;
}

/* Profile Card */
.profile-card {
    text-align: center;
    padding: 24px 20px;
}

.profile-image-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #0ff;
    transition: all 0.3s;
}

.profile-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 255, 255, 0.4);
    animation: rotate 12s linear infinite;
}

.profile-card:hover .profile-image {
    transform: scale(1.02);
    border-color: #f0f;
}

.profile-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #fff;
}

.profile-card p {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

.profile-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.75rem;
    color: #0f0;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #0f0;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 28px;
}

.contact-form-wrapper h2 {
    color: #0ff;
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-subtitle {
    color: #777;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.15);
    color: #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0ff;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.submit-btn {
    background: #0ff;
    color: #000;
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
    gap: 12px;
}

/* Form Message */
.form-message {
    margin-top: 16px;
}

.success-message {
    background: rgba(0, 255, 0, 0.08);
    border: 1px solid #0f0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f0;
    font-size: 0.85rem;
}

.error-message {
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid #f00;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f00;
    font-size: 0.85rem;
}

/* ===== SOCIAL MEDIA SECTION - PROFESSIONAL GRID ===== */
.social-section {
    padding: 60px 20px 80px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
    border-top: 1px solid rgba(0, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 255, 255, 0.08);
}

.social-container {
    max-width: 1000px;
    margin: 0 auto;
}

.social-header {
    text-align: center;
    margin-bottom: 50px;
}

.social-header h2 {
    font-size: 2rem;
    color: #0ff;
    margin-bottom: 10px;
}

.social-header p {
    color: #888;
    font-size: 0.95rem;
}

.header-line-center {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0ff, #f0f);
    margin: 20px auto 0;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Social Card */
.social-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

/* Social Icon Circle */
.social-icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card:hover .social-icon-circle {
    transform: scale(1.05) rotate(5deg);
}

.social-icon-circle i {
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-card:hover .social-icon-circle i {
    transform: scale(1.1);
}

/* Social Details */
.social-details {
    flex: 1;
}

.social-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.social-details p {
    font-size: 0.75rem;
    color: #888;
    transition: color 0.3s ease;
}

/* Social Arrow */
.social-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-arrow i {
    font-size: 0.9rem;
}

.social-card:hover .social-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Brand Colors - Dark Mode */
.social-card.linkedin .social-icon-circle i { color: #0077b5; }
.social-card.linkedin:hover { border-color: #0077b5; }
.social-card.linkedin:hover .social-details h3 { color: #0077b5; }

.social-card.github .social-icon-circle i { color: #fff; }
.social-card.github:hover { border-color: #fff; }
.social-card.github:hover .social-details h3 { color: #fff; }

.social-card.twitter .social-icon-circle i { color: #1da1f2; }
.social-card.twitter:hover { border-color: #1da1f2; }
.social-card.twitter:hover .social-details h3 { color: #1da1f2; }

.social-card.youtube .social-icon-circle i { color: #ff0000; }
.social-card.youtube:hover { border-color: #ff0000; }
.social-card.youtube:hover .social-details h3 { color: #ff0000; }

.social-card.facebook .social-icon-circle i { color: #1877f2; }
.social-card.facebook:hover { border-color: #1877f2; }
.social-card.facebook:hover .social-details h3 { color: #1877f2; }

.social-card.instagram .social-icon-circle i { color: #e4405f; }
.social-card.instagram:hover { border-color: #e4405f; }
.social-card.instagram:hover .social-details h3 { color: #e4405f; }

.social-card.telegram .social-icon-circle i { color: #0088cc; }
.social-card.telegram:hover { border-color: #0088cc; }
.social-card.telegram:hover .social-details h3 { color: #0088cc; }

.social-card.whatsapp .social-icon-circle i { color: #25d366; }
.social-card.whatsapp:hover { border-color: #25d366; }
.social-card.whatsapp:hover .social-details h3 { color: #25d366; }

.social-card.email .social-icon-circle i { color: #ea4335; }
.social-card.email:hover { border-color: #ea4335; }
.social-card.email:hover .social-details h3 { color: #ea4335; }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(0, 255, 255, 0.9);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: #0ff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes expandWidth {
    from { width: 0; opacity: 0; }
    to { width: 60px; opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ===== LIGHT MODE FIXES ===== */
body.light .contact-hero-content .main-name {
    background: linear-gradient(45deg, #1a1a1a, #0066ff, #ff00ff, #1a1a1a);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
}

body.light .contact-hero-content .role {
    color: #0066ff;
}

body.light .contact-container {
    background: rgba(245, 245, 245, 0.5);
    border-color: rgba(0, 102, 255, 0.15);
}

body.light .info-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 102, 255, 0.2);
}

body.light .info-card:hover {
    border-color: #0066ff;
}

body.light .info-card h3 {
    color: #0066ff;
}

body.light .info-card p {
    color: #2a2a2a;
}

body.light .info-icon {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.2);
}

body.light .info-icon i {
    color: #0066ff;
}

body.light .info-link {
    color: #0066ff;
}

body.light .timezone {
    color: #666;
}

body.light .profile-card h3 {
    color: #1a1a1a;
}

body.light .profile-card p {
    color: #555;
}

body.light .profile-status {
    color: #0066ff;
}

body.light .status-dot {
    background: #0066ff;
}

body.light .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.6);
}

body.light .contact-form-wrapper h2 {
    color: #0066ff;
}

body.light .form-subtitle {
    color: #666;
}

body.light .form-group input,
body.light .form-group textarea {
    background: rgba(245, 245, 245, 0.9);
    border-color: rgba(0, 102, 255, 0.2);
    color: #1a1a1a;
}

body.light .form-group input::placeholder,
body.light .form-group textarea::placeholder {
    color: #888;
}

body.light .form-group input:focus,
body.light .form-group textarea:focus {
    border-color: #0066ff;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 102, 255, 0.2);
}

body.light .submit-btn {
    background: #0066ff;
    color: #fff;
}

body.light .submit-btn:hover {
    background: #0055cc;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

body.light .success-message {
    background: rgba(0, 128, 0, 0.1);
    color: #2a6e2a;
    border-color: #2a6e2a;
}

body.light .error-message {
    background: rgba(255, 0, 0, 0.08);
    color: #cc0000;
    border-color: #cc0000;
}

body.light .social-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
}

body.light .social-header h2 {
    color: #0066ff;
}

body.light .social-header p {
    color: #555;
}

body.light .social-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 102, 255, 0.2);
}

body.light .social-card:hover {
    border-color: #0066ff;
    background: #fff;
}

body.light .social-details h3 {
    color: #1a1a1a;
}

body.light .social-details p {
    color: #666;
}

body.light .social-card.github .social-icon-circle i { color: #333; }
body.light .social-card.github:hover .social-icon-circle i { color: #fff; }

body.light .back-to-top {
    background: rgba(0, 102, 255, 0.9);
    color: #fff;
}

body.light .back-to-top:hover {
    background: #0066ff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 600px) {
    .contact-hero-content .main-name {
        font-size: 2.2rem;
    }
    
    .contact-hero-content .role {
        font-size: 0.9rem;
    }
    
    .contact-container {
        padding: 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .social-header h2 {
        font-size: 1.6rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .social-card {
        padding: 15px 20px;
    }
    
    .social-icon-circle {
        width: 42px;
        height: 42px;
    }
    
    .social-icon-circle i {
        font-size: 1.2rem;
    }
    
    .social-details h3 {
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}