/* ============================================
   Contact Page Styles
   ============================================ */

/* Ensure page is scrollable */
html, body {
    overflow-x: hidden;
    overflow-y: auto !important;
}

/* Page Transition Overlay */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.transition-logo {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.transition-overlay.active .transition-logo {
    opacity: 1;
    transform: scale(1);
}

/* Nav Logo Link */
.nav-logo-link {
    color: inherit;
    text-decoration: none;
}

/* Hero Section */
.contact-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 0 4rem;
    background: var(--black);
}

.contact-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--white);
    margin: 1.5rem 0;
}

.contact-intro {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--black);
    padding: var(--space-lg) 0 var(--space-xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* Form Wrapper */
.contact-form-wrapper {
    background: var(--black-light);
    padding: 3rem;
    border: 1px solid var(--black-lighter);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-light);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--black);
    border: 1px solid var(--black-lighter);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--gray);
    box-shadow: 0 0 20px rgba(247, 247, 247, 0.05);
}

.form-input::placeholder {
    color: var(--gray);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8a8c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--white);
    border: none;
    color: var(--black);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
    align-self: flex-start;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--white-dark);
    box-shadow: 0 0 40px rgba(247, 247, 247, 0.2);
    transform: translateY(-2px);
}

.submit-btn svg {
    transition: transform var(--transition-base);
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

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

.info-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-title {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-light);
}

.info-link {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-link:hover {
    color: var(--gray-light);
}

.info-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray-light);
    line-height: 1.7;
}

.info-social {
    display: flex;
    gap: 1.5rem;
}

.info-social-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-social-link:hover {
    color: var(--gray-light);
}

/* Team Contact Section */
.team-contact {
    background: var(--black-light);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--black-lighter);
}

.team-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--space-lg);
}

.team-contact-card {
    background: var(--black);
    padding: 2rem;
    border: 1px solid var(--black-lighter);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.team-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.team-contact-avatar {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray);
    background: var(--black-light);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.team-contact-card:hover .team-contact-avatar {
    color: var(--white);
    box-shadow: 0 0 30px rgba(247, 247, 247, 0.1);
}

.team-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.team-contact-name {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
}

.team-contact-role {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-light);
}

.team-contact-phone {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--gray-light);
    margin-top: 0.5rem;
}

.team-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.contact-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid var(--gray);
    transition: all var(--transition-base);
}

.contact-action-btn svg {
    flex-shrink: 0;
}

/* Phone Button */
.phone-btn {
    color: var(--white);
    background: transparent;
}

.phone-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.phone-btn:hover svg {
    stroke: var(--black);
}

/* WhatsApp Button */
.whatsapp-btn {
    color: #25D366;
    border-color: #25D366;
    background: transparent;
}

.whatsapp-btn:hover {
    background: #25D366;
    color: var(--white);
}

.whatsapp-btn:hover svg {
    fill: var(--white);
}

/* LinkedIn Button */
.linkedin-btn {
    color: var(--white);
    background: transparent;
}

.linkedin-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.linkedin-btn:hover svg {
    stroke: var(--black);
}

/* Responsive */
@media (max-width: 1200px) {
    .team-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .info-block {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 0 3rem;
        min-height: auto;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .team-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-contact-card {
        padding: 1.5rem;
    }
    
    .contact-action-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .team-contact-actions {
        flex-direction: column;
    }
    
    .contact-action-btn {
        width: 100%;
    }
}
