/* 
 * VEKS Contacts Page - Premium Design
 */

.veks-contacts-page {
    background-color: #050505;
    color: #fff;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    margin-left: calc(-50vw + 50%);
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    padding-bottom: 80px;
    font-family: 'Inter', sans-serif;
    background-image: radial-gradient(circle at 100% 0%, rgba(213, 154, 87, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 0% 100%, rgba(213, 154, 87, 0.03) 0%, transparent 30%);
}

/* Contacts Hero Styles */
.veks-contacts-page__hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 60px;
    padding: 180px 0 60px;
    background: transparent;
}

.veks-contacts-page__hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.veks-contacts-page__hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: veksHeroZoom 10s ease-out forwards;
    opacity: 0.3;
}

.veks-contacts-page__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #050505 0%, rgba(5,5,5,0) 100%);
    z-index: 1;
}

.veks-contacts-page__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1320px;
    padding: 0 15px;
    width: 100%;
    margin: 0 auto;
}

.veks-contacts-page__title {
    font-family: "Playfair Display", "Noto Sans Armenian", serif;
    font-size: clamp(33px, 2vw, 59px);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #fff;
    opacity: 0;
    animation: veksFadeInUp 0.8s ease-out forwards 0.2s;
}

.veks-contacts-page__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: veksFadeInUp 0.8s ease-out forwards 0.4s;
}

/* Force Elementor containers that hold our modules to become truly Full-Width and remove all Elementor padding */
:is(.e-con, .elementor-section, .elementor-container, .e-con-inner, .elementor-widget-wrap):has(.veks-indoor-outdoor, .veks-expertise, .veks-innovative, .veks-portfolio, .veks-production-page, .veks-testimonials, .veks-partners, .veks-blog, .veks-projects) {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure the modules themselves fill the container */
.veks-indoor-outdoor,
.veks-expertise,
.veks-innovative,
.veks-portfolio,
.veks-production-page,
.veks-testimonials,
.veks-partners,
.veks-blog,
.veks-projects {
    width: 100% !important;
}

/* Stylistic section separators (Luxury glowing line) */
.veks-indoor-outdoor::after,
.veks-expertise::after,
.veks-innovative::after,
.veks-portfolio::after,
.veks-production-page::after,
.veks-testimonials::after,
.veks-partners::after,
.veks-blog::after,
.veks-projects::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1320px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(213, 154, 87, 0.15) 50%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}





.veks-contacts-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

@media(min-width: 992px) {
    .veks-contacts-layout {
        flex-direction: row;
        gap: 80px;
        align-items: flex-start;
        margin-top: 80px;
    }
}

/* Left Column: Info */
.veks-contacts-info {
    flex: 1;
}

.veks-contacts-title {
    font-family: "Playfair Display", "Noto Sans Armenian", serif;
    font-size: clamp(33px, 2vw, 59px);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #fff;
}

.veks-contacts-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 50px 0;
    max-width: 500px;
    font-weight: 300;
}

.veks-contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.veks-contact-item {
    position: relative;
    padding-left: 20px;
    border-left: 1px solid rgba(213, 154, 87, 0.3);
    transition: border-color 0.3s;
}

.veks-contact-item:hover {
    border-left-color: rgba(213, 154, 87, 1);
}

.veks-contact-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d59a57;
    margin-bottom: 8px;
    font-weight: 500;
}

.veks-contact-value {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
    color: #fff;
}

.veks-contact-value a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.veks-contact-value a:hover {
    color: #d59a57;
}

/* Right Column: Form */
.veks-contacts-form-wrapper {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px 40px;
    backdrop-filter: blur(10px);
}

.veks-form-title {
    font-family: "Playfair Display", "Noto Sans Armenian", serif;
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 15px 0;
}

.veks-form-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 30px 0;
    font-weight: 300;
}

.veks-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.veks-form-group {
    position: relative;
}

.veks-form-group input,
.veks-form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 15px 0;
    font-size: 17px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.veks-form-group textarea {
    resize: vertical;
    min-height: 80px;
    padding: 15px 0 5px 0;
}

.veks-form-group input:focus,
.veks-form-group textarea:focus {
    border-bottom-color: #d59a57;
}

.veks-form-group input::placeholder,
.veks-form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

/* Custom File Upload Styling */
.veks-file-upload-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 5px;
}

.veks-file-upload-label:hover {
    border-color: #d59a57;
    background: rgba(213, 154, 87, 0.05);
    color: #fff;
}

.veks-file-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(213, 154, 87, 0.1);
    border-radius: 50%;
    color: #d59a57;
    flex-shrink: 0;
}

.veks-file-upload-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.veks-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    background: #d59a57;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    font-family: 'Inter', sans-serif;
    align-self: flex-start;
    margin-top: 15px;
}

.veks-btn:hover {
    background: #c38848;
    transform: translateY(-2px);
}

/* Success Message */
.veks-contact-form-success {
    text-align: center;
    padding: 30px 0;
}

.veks-contact-form-success h3 {
    font-family: "Playfair Display", "Noto Sans Armenian", serif;
    font-size: 28px;
    font-weight: 400;
    margin: 20px 0 10px;
}

.veks-contact-form-success p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Animations */
.veks-animate-up {
    opacity: 0;
    transform: translateY(30px);
}

.veks-animate-up.is-visible {
    animation: veksFadeInUp 0.8s cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes veksFadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .veks-contacts-page {
        padding: 60px 0 40px;
    }
    .veks-header-container {
        padding: 0 30px !important; /* Увеличил отступ и добавил !important, чтобы тема его не сбивала */
    }
    .veks-contacts-layout {
        gap: 40px;
        margin-top: 20px;
    }
    .veks-contacts-title {
        font-size: 38px; /* Немного уменьшил, чтобы точно помещалось */
        margin-bottom: 15px;
    }
    .veks-contacts-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .veks-contacts-form-wrapper {
        padding: 30px 20px; /* Уменьшаем внутренние отступы формы на мобильных */
        border-radius: 12px;
    }
    .veks-form-title {
        font-size: 26px;
    }
    .veks-btn {
        width: 100%; /* Кнопка на всю ширину на мобилках */
        padding: 16px 20px !important; /* Меньше отступы по бокам */
        white-space: nowrap; /* Принудительно в одну строку */
        font-size: 12px; /* Чуть меньше шрифт, чтобы влезло */
        letter-spacing: 1px; /* Уменьшаем расстояние между буквами */
    }
    .veks-contact-details {
        gap: 20px;
    }
    .veks-contact-value {
        font-size: 16px;
    }
}

