/* ===================================
   CONTACT SECTION - Cyberpunk Style
   =================================== */

.contact-section {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.02) 100%);
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
}

/* Left Column - Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    /* Dark text for visibility */
    margin-bottom: 2rem;
}

/* Profile Photo */
.profile-photo-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
}

.profile-photo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff88, #00cc6a, #00ff88);
    animation: rotateRing 4s linear infinite;
    opacity: 0.8;
}

@keyframes rotateRing {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.profile-photo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0a0e27;
    box-shadow:
        0 0 30px rgba(0, 255, 136, 0.5),
        0 0 60px rgba(0, 255, 136, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    z-index: 1;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 40px rgba(0, 255, 136, 0.7),
        0 0 80px rgba(0, 255, 136, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 1rem;
    max-width: 400px;
}

.social-links a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 255, 136, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links svg {
    width: 28px;
    height: 28px;
    fill: var(--color-dark);
    /* Dark icons for visibility */
    transition: fill 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-links a:hover svg {
    fill: var(--color-lime);
    /* Lime green on hover */
}

/* Right Column - Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #00ff88;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button */
.btn-send {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border: none;
    border-radius: 12px;
    color: #0a0e27;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-send::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-send:hover::before {
    transform: translateX(100%);
}

.btn-send:active {
    transform: translateY(0);
}

/* Loading State */
.btn-send.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-send.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}

/* Success Message */
.form-message {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.form-message.error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    margin-top: 4rem;
}

.footer p {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 6rem 0 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info h3 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .social-links {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-section .container {
        padding: 0 1rem;
    }

    .contact-info h3 {
        font-size: 1.75rem;
    }

    .social-links {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }

    .social-links svg {
        width: 24px;
        height: 24px;
    }
}