
/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ==========================================
   TAVANEVIP - PAGINA CONTACT
   ========================================== */

.tv-contact {
    --tv-purple: #9128ed;
    --tv-dark: #252038;
    --tv-border: #e7d3fa;
    --tv-shadow: 0 8px 28px rgba(93, 39, 145, .075);

    color: var(--tv-dark);
}

.tv-contact *,
.tv-contact *::before,
.tv-contact *::after {
    box-sizing: border-box;
}

/* ==========================================
   TITLU PAGINA
   ========================================== */

.tv-contact-intro {
    text-align: center;
    margin-bottom: 35px;
}

.tv-contact-intro h1 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 700;
    color: #252038;
    margin: 0 0 15px;
}

.tv-contact-intro p {
    font-size: 15px;
    line-height: 1.7;
    color: #625b6d;
    margin: 0;
}

/* ==========================================
   HARTA GOOGLE MAPS
   ========================================== */

.tv-contact-map {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e7d3fa;
    border-radius: 18px;
    padding: 15px;
    margin: 0 0 25px !important;
    box-shadow: 0 8px 28px rgba(93,39,145,.075);
    overflow: hidden;
    box-sizing: border-box;
}

.tv-contact-map iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 12px;
}

/* ==========================================
   CARD SHOWROOM
   ========================================== */

.tv-contact .tv-contact-showroom {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e7d3fa;
    border-radius: 18px;
    padding: 30px;
    margin: 0 0 25px;
    box-shadow: 0 8px 28px rgba(93,39,145,.075);
    box-sizing: border-box;
}

.tv-contact-showroom h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #17152a;
    margin: 0 0 25px;
}

/* Informatii showroom */

.tv-contact-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid #ededf0;
}

.tv-contact-info:last-of-type {
    border-bottom: none;
}

.tv-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    background: #f3eaff;
    color: #9128ed;
    border-radius: 13px;
    font-size: 21px;
}

.tv-contact-info strong {
    display: block;
    color: #19162a;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 7px;
}

.tv-contact-info p,
.tv-contact-info a {
    display: block;
    margin: 0;
    color: #454057;
    font-size: 15px;
    line-height: 1.8;
}

.tv-contact-info a:hover {
    color: #9128ed;
}

/* Date firma */

.tv-contact-company {
    margin-top: 26px;
    padding: 20px;
    background: #f8f3fd;
    border-radius: 12px;
    color: #454057;
    font-size: 16px;
    line-height: 1.9;
}

.tv-contact-company strong {
    color: #19162a;
}

/* ==========================================
   CARD FORMULAR CONTACT FORM 7
   ========================================== */

/*
   Clasa tv-contact-form-row trebuie sa fie
   aplicata pe randul WPBakery cu formularul.
*/

.tv-contact-form-row {
    background: #ffffff;
    border: 1px solid #e7d3fa;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(93,39,145,.075);
    padding: 30px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* Titlu si descriere formular */

.tv-contact-form-row .tv-contact-form-heading h2 {
    color: #17152a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px;
}

.tv-contact-form-row .tv-contact-form-heading p {
    color: #514a5c;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 25px;
}

/* ==========================================
   CONTACT FORM 7 - STRUCTURA
   ========================================== */

.tv-contact-form-row .wpcf7,
.tv-contact-fields {
    width: 99%;
}

.tv-contact-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.tv-contact-field {
    min-width: 0;
    margin-bottom: 18px;
}

.tv-contact-field label {
    display: block;
    margin-bottom: 7px;
    color: #252038;
    font-size: 14px;
    font-weight: 600;
}

.tv-contact-form-row .wpcf7 label {
    color: #19162a;
    font-size: 14px;
    font-weight: 600;
}

/* Campuri formular */

.tv-contact-form-row .wpcf7 input[type="text"],
.tv-contact-form-row .wpcf7 input[type="email"],
.tv-contact-form-row .wpcf7 textarea {
    display: block;
    width: 99%;
    max-width: 100%;
    background: #fbfaff;
    border: 1px solid #ded4ed;
    border-radius: 10px;
    color: #252038;
    padding: 13px 15px;
    font-size: 14px;
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

.tv-contact-form-row .wpcf7 input[type="text"]:focus,
.tv-contact-form-row .wpcf7 input[type="email"]:focus,
.tv-contact-form-row .wpcf7 textarea:focus {
    border-color: #9128ed;
    outline: none;
    box-shadow: 0 0 0 3px rgba(145,40,237,.10);
}

.tv-contact-form-row .wpcf7 textarea {
    min-height: 130px;
    resize: vertical;
}

/* ==========================================
   GDPR
   ========================================== */

.tv-contact-consent {
    margin: 12px 0 20px;
    font-size: 13px;
    line-height: 1.6;
}

.tv-contact-consent a {
    color: #7920cc;
    text-decoration: underline;
}

.tv-contact-form-row .wpcf7 .wpcf7-acceptance label {
    font-size: 13px;
    font-weight: 400;
}

/* ==========================================
   BUTON TRIMITERE
   ========================================== */

.tv-contact-form-row .wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    background: #ad7be7;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.tv-contact-form-row .wpcf7 input[type="submit"]:hover {
    background: #9128ed;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================
   MESAJE FORMULAR
   ========================================== */

.tv-contact-form-row .wpcf7-not-valid-tip {
    font-size: 12px;
    margin-top: 5px;
}

.tv-contact-form-row .wpcf7-response-output {
    border-radius: 9px;
    padding: 12px 15px;
}

/* ==========================================
   RESPONSIVE - MOBIL
   ========================================== */

@media (max-width: 767px) {

    .tv-contact-intro {
        margin-bottom: 25px;
    }

    .tv-contact-intro h1 {
        font-size: 27px;
    }

    .tv-contact-map {
        padding: 10px;
        margin-bottom: 20px !important;
    }

    .tv-contact-map iframe {
        height: 280px;
    }

    .tv-contact .tv-contact-showroom,
    .tv-contact-form-row {
        padding: 22px;
    }

    .tv-contact .tv-contact-showroom {
        margin-bottom: 20px;
    }

    .tv-contact-showroom h2,
    .tv-contact-form-row .tv-contact-form-heading h2 {
        font-size: 21px;
    }

    .tv-contact-info {
        gap: 12px;
    }

    .tv-contact-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .tv-contact-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* Banda informativa TavaneVIP */

.tv-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e7d3fa;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(93,39,145,.075);
}

.tv-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.tv-benefit svg {
    color: #9128ed;
    margin-bottom: 4px;
}

.tv-benefit strong {
    color: #252038;
    font-size: 18px;
    font-weight: 600;
}

.tv-benefit span,
.tv-benefit a {
    color: #625b6d;
    font-size: 16px;
    text-decoration: none;
}

.tv-benefit a:hover {
    color: #9128ed;
}

@media (max-width: 767px) {
    .tv-benefits {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 22px;
    }
}

