/**
 * VDL Contact Page Styling - Modern Dental Design
 * Version: 1.0.0
 * 
 * Custom CSS cho trang liên hệ với thiết kế hiện đại, phù hợp ngành nha khoa
 */

/* ============================================
   CONTACT PAGE HERO SECTION
   ============================================ */

.page-template-contact .page-header,
.page-id-contact .page-header {
    background: linear-gradient(135deg, #0099cc 0%, #006699 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-template-contact .page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-template-contact .page-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-template-contact .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */

.vdl-contact-info-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
    padding: 0 20px;
}

.vdl-contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.vdl-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0099cc 0%, #00cc99 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vdl-contact-card:hover::before {
    transform: scaleX(1);
}

.vdl-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 153, 204, 0.15);
}

.vdl-contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #0099cc 0%, #00cc99 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 153, 204, 0.3);
    transition: transform 0.3s ease;
}

.vdl-contact-card:hover .vdl-contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.vdl-contact-title {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
}

.vdl-contact-detail {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.vdl-contact-link {
    display: inline-block;
    color: #0099cc;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 25px;
    border: 2px solid #0099cc;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.vdl-contact-link:hover {
    background: #0099cc;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 153, 204, 0.3);
}

/* ============================================
   CONTACT FORM STYLING
   ============================================ */

.vdl-contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 20px;
    margin: 60px 0;
}

.vdl-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.vdl-form-title {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
    text-align: center;
}

.vdl-form-subtitle {
    font-size: 16px;
    color: #666666;
    text-align: center;
    margin-bottom: 40px;
}

/* Contact Form 7 Styling */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 25px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #333333;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #0099cc;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 153, 204, 0.1);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #0099cc 0%, #00cc99 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 153, 204, 0.3);
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 153, 204, 0.4);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Form validation */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ok {
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

.wpcf7-validation-errors {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

/* ============================================
   GOOGLE MAPS SECTION
   ============================================ */

.vdl-map-wrapper {
    margin: 60px 0;
    padding: 0 20px;
}

.vdl-map-container {
    position: relative;
    height: 500px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.vdl-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Map overlay info card */
.vdl-map-info-card {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.vdl-map-info-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
}

.vdl-map-info-address {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.vdl-map-directions-btn {
    display: inline-block;
    background: #0099cc;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vdl-map-directions-btn:hover {
    background: #007aa3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 153, 204, 0.3);
}

/* ============================================
   WORKING HOURS SECTION
   ============================================ */

.vdl-working-hours {
    background: #ffffff;
    padding: 60px 20px;
    margin: 60px 0;
}

.vdl-hours-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.vdl-hours-title {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 30px;
}

.vdl-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vdl-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
}

.vdl-hours-item:last-child {
    border-bottom: none;
}

.vdl-hours-day {
    font-weight: 600;
    color: #333333;
}

.vdl-hours-time {
    color: #0099cc;
    font-weight: 600;
}

.vdl-hours-time.closed {
    color: #dc3545;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.vdl-faq-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.vdl-faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.vdl-faq-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 50px;
}

.vdl-faq-item {
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.vdl-faq-question {
    padding: 25px 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.vdl-faq-question:hover {
    background: #f8f9fa;
    color: #0099cc;
}

.vdl-faq-icon {
    font-size: 24px;
    color: #0099cc;
    transition: transform 0.3s ease;
}

.vdl-faq-item.active .vdl-faq-icon {
    transform: rotate(180deg);
}

.vdl-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vdl-faq-item.active .vdl-faq-answer {
    max-height: 500px;
}

.vdl-faq-answer-content {
    padding: 0 30px 25px 30px;
    color: #666666;
    line-height: 1.8;
}

/* ============================================
   SOCIAL MEDIA SECTION
   ============================================ */

.vdl-social-section {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
}

.vdl-social-title {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 30px;
}

.vdl-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.vdl-social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vdl-social-link.facebook {
    background: #1877f2;
}

.vdl-social-link.youtube {
    background: #ff0000;
}

.vdl-social-link.linkedin {
    background: #0077b5;
}

.vdl-social-link.zalo {
    background: #0068ff;
}

.vdl-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .page-template-contact .page-title {
        font-size: 36px;
    }

    .page-template-contact .page-subtitle {
        font-size: 16px;
    }

    .vdl-contact-info-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }

    .vdl-form-container {
        padding: 30px 20px;
    }

    .vdl-form-title {
        font-size: 26px;
    }

    .vdl-map-container {
        height: 400px;
    }

    .vdl-map-info-card {
        position: relative;
        top: auto;
        left: auto;
        margin: 20px;
        max-width: none;
    }

    .vdl-hours-container {
        padding: 25px 20px;
    }

    .vdl-faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .vdl-faq-answer-content {
        padding: 0 20px 20px 20px;
    }
}

/* ============================================
   DENTAL THEME SPECIFIC ELEMENTS
   ============================================ */

/* Tooth icon animation */
@keyframes tooth-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.vdl-tooth-icon {
    animation: tooth-pulse 3s ease-in-out infinite;
}

/* Gradient text for dental emphasis */
.vdl-dental-gradient-text {
    background: linear-gradient(135deg, #0099cc 0%, #00cc99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Trust badges */
.vdl-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.vdl-trust-badge {
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    font-weight: 600;
    color: #666666;
}

/* Clean & professional dental aesthetic */
.vdl-clean-section {
    background: #ffffff;
    padding: 40px;
    border-left: 4px solid #0099cc;
}