/* Premium Contact Page Custom Styles */

.contact-page {
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-main {
    padding-top: 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Contact Container (Split Layout) */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Left side: Background & Text */
.contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 10%;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 13, 16, 0.95) 0%, rgba(11, 13, 16, 0.6) 100%);
    z-index: 2;
}

.contact-info-content {
    position: relative;
    z-index: 3;
}

.contact-info-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-info-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 450px;
}

/* Right side: Form */
.contact-form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 15%;
    background: #111418;
}

.smartivo-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.smartivo-form input,
.smartivo-form select {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.smartivo-form input:focus,
.smartivo-form select:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.smartivo-form select option {
    background: var(--bg-color);
    color: var(--text-primary);
}

.smartivo-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.submit-btn {
    width: 100%;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Bottom Contact details section */
.contact-footer-info {
    padding: 6rem 5% 3rem;
    background: var(--bg-color);
}

.divider {
    text-align: center;
    position: relative;
    margin-bottom: 4rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.divider span {
    position: relative;
    z-index: 2;
    background: var(--bg-color);
    padding: 0 2rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
}

.contact-details-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    flex: 1;
    min-width: 350px;
}

.contact-detail-card svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent);
}

.detail-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
}

.detail-text p {
    color: var(--accent);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-text span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Tagline */
.contact-tagline {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-tagline h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    background: linear-gradient(90deg, #d4b886 0%, #ecd6a6 50%, #d4b886 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 5rem 5%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .contact-form-section {
        padding: 5rem 5%;
    }
}

@media (max-width: 600px) {
    .contact-info-content h1 {
        font-size: 3rem;
    }
    
    .contact-detail-card {
        min-width: 100%;
        flex-direction: column;
        text-align: center;
    }
}

/* Override global footer padding on contact page */
.contact-page footer {
    padding-top: 0;
}
