/* Inherits root variables from style.css */

.contact-hero {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.contact-header {
    margin-bottom: 5rem;
}

.contact-header h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--text-secondary); /* Uses grey for contrast */
}

.contact-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.inline-link {
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-secondary);
}

/* Form Layout */
.form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.input-group label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.input-group input,
.input-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--accent-color);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #333;
    opacity: 1;
}

/* Submit Button */
.submit-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.btn-text {
    font-size: 4rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-text {
    transform: translateX(10px);
    color: var(--accent-color);
}

/* Contact Sidebar */
.contact-info {
    padding-top: 2rem;
}

.info-item {
    margin-bottom: 3rem;
}

.info-item h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.info-item p,
.social-links a {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a:hover,
.social-link:hover {
    color: var(--accent-color);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .contact-hero {
        padding-top: 140px;
        padding-bottom: 80px;
        min-height: 80vh;
    }
    
    .contact-header {
        margin-bottom: 3rem;
    }
    
    .contact-header h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1.2rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    #contact-form {
        gap: 2rem;
    }
    
    .input-group {
        gap: 0.8rem;
    }
    
    .input-group label {
        font-size: 0.9rem;
    }
    
    .input-group input,
    .input-group textarea {
        font-size: 1.2rem;
        padding: 0.8rem 0;
    }
    
    .submit-btn {
        padding: 0.8rem 0;
        margin-top: 1rem;
    }
    
    .btn-text {
        font-size: 2.5rem;
    }
    
    .contact-info {
        padding-top: 0;
    }
    
    .info-item {
        margin-bottom: 2rem;
    }
    
    .info-item h3 {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .info-item p,
    .social-links a {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: 70vh;
    }
    
    .contact-header {
        margin-bottom: 2rem;
    }
    
    .contact-header h1 {
        font-size: clamp(2rem, 12vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .form-wrapper {
        gap: 2rem;
    }
    
    #contact-form {
        gap: 1.5rem;
    }
    
    .input-group {
        gap: 0.6rem;
    }
    
    .input-group label {
        font-size: 0.85rem;
    }
    
    .input-group input,
    .input-group textarea {
        font-size: 1.1rem;
        padding: 0.6rem 0;
    }
    
    .submit-btn {
        padding: 0.6rem 0;
        margin-top: 0.8rem;
    }
    
    .btn-text {
        font-size: 2rem;
    }
    
    .info-item {
        margin-bottom: 1.5rem;
    }
    
    .info-item h3 {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .info-item p,
    .social-links a {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .social-links {
        gap: 0.3rem;
    }
}
