/* Portfolio Contact Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.portfolio-contact {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(180deg, #0f1724, #071021);
    color: #e6eef8;
    line-height: 1.6;
    min-height: 100vh;
}

.portfolio-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 28px;
}

/* Header */
.portfolio-header {
    margin-bottom: 48px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-contact .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #e6eef8;
}

.portfolio-contact .avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2dd4bf, #60a5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: #04263a;
}

.portfolio-contact .logo-text {
    font-weight: 700;
    font-size: 18px;
}

.portfolio-contact .header-nav {
    display: flex;
    align-items: center;
}

.portfolio-contact .header-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.portfolio-contact .header-menu li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.portfolio-contact .header-menu li a:hover {
    color: #e6eef8;
}

/* Main Layout */
.portfolio-contact .portfolio-main {
    min-height: 60vh;
}

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

/* Contact Info */
.contact-info h1 {
    font-size: 42px;
    margin-bottom: 16px;
    color: #e6eef8;
}

.contact-info .lead {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.method-details h3 {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 4px;
    font-weight: 500;
}

.method-details a,
.method-details span {
    color: #e6eef8;
    text-decoration: none;
    font-size: 16px;
    display: block;
}

.method-details a:hover {
    color: #7c3aed;
}

/* Form Section */
.contact-form-section .card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 6px 24px rgba(2, 6, 23, 0.6);
}

.contact-form-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #e6eef8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    color: #e6eef8;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
    background: rgba(255, 255, 255, 0.06);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #0f1724;
    color: #e6eef8;
}

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

/* Buttons */
.portfolio-contact .btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 24px;
    border-radius: 10px;
    color: #e6eef8;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.portfolio-contact .btn.primary {
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    color: white;
    border: 0;
}

.portfolio-contact .btn.primary:hover {
    opacity: 0.9;
}

/* Footer */
.portfolio-footer {
    margin-top: 64px;
}

.footer-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(2, 6, 23, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
}

/* Utilities */
.muted { color: #94a3b8; }
.small { font-size: 13px; }

/* Focus States */
.portfolio-contact a:focus,
.portfolio-contact button:focus,
.portfolio-contact input:focus,
.portfolio-contact select:focus,
.portfolio-contact textarea:focus {
    outline: 3px solid rgba(124, 58, 237, 0.25);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h1 {
        font-size: 32px;
    }

    .portfolio-container {
        padding: 28px 18px;
    }

    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
