/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

/* Main Content Area */
.royal-contact-content {
    padding: 40px 0;
    min-height: calc(100vh - 160px);
}

/* Contact Layout */
.royal-contact-layout {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.royal-contact-info,
.royal-contact-form {
    padding: 0 15px;
}

/* Contact Card */
.royal-contact-card {
    background-color: #f6f6f6;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(201, 162, 39, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.royal-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Contact Title */
.royal-contact-title {
    font-size: 20px;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    position: relative;
    font-weight: 600;
    color: #1a1a1a;
}

.royal-contact-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #b8941f;
    transition: width 0.3s ease;
}

.royal-contact-card:hover .royal-contact-title::after {
    width: 60px;
}

/* Contact Block */
.royal-contact-block {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.royal-contact-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Contact Subtitle */
.royal-contact-subtitle {
    font-size: 16px;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.royal-contact-subtitle i {
    color: #b8941f;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* Contact Text */
.royal-contact-text {
    color: #666;
    font-size: 14px;
    margin: 0;
    padding-left: 28px;
}

/* Contact Phones */
.royal-contact-phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 28px;
}

.royal-contact-phone {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.royal-contact-phone:hover {
    color: #b8941f;
    transform: translateX(3px);
}

.royal-contact-phone::before {
    content: '•';
    color: #b8941f;
    font-weight: bold;
    font-size: 12px;
}

/* Contact Email */
.royal-contact-email {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding-left: 28px;
    display: block;
    transition: all 0.3s ease;
}

.royal-contact-email:hover {
    color: #b8941f;
}

/* Contact Hours */
.royal-contact-hours {
    padding-left: 28px;
}

.royal-contact-time {
    color: #666;
    font-size: 14px;
    margin: 0 0 6px 0;
    position: relative;
    padding-left: 16px;
}

.royal-contact-time::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #b8941f;
    font-weight: bold;
    font-size: 12px;
}

.royal-contact-time:last-child {
    margin-bottom: 0;
}

/* Form Card */
.royal-contact-form-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

/* Form Grid */
.royal-form-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Form Group */
.royal-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}


.royal-form-group label i {
    color: #b8941f;
    width: 16px;
}

/* Form Inputs */
.royal-form-group input,
.royal-form-group textarea,
.royal-form-select {
    padding: 10px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    background-color: #fff;
    font-family: inherit;
}

.royal-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 32px;
}

.royal-form-group input:focus,
.royal-form-group textarea:focus,
.royal-form-select:focus {
    outline: none;
    border-color: #b8941f;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.1);
}

.royal-form-group input:hover,
.royal-form-group textarea:hover,
.royal-form-select:hover {
    border-color: #b8941f;
}

.royal-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.royal-form-submit .royal-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.royal-form-submit .royal-btn i {
    font-size: 12px;
}


/* Mobile */
@media (max-width: 992px) {
    .royal-contact-content {
        padding: 30px 0;
        min-height: calc(100vh - 140px);
    }


    .royal-contact-form {
        padding: 7.5px 15px 0;
    }

    .royal-contact-info {
        padding: 7.5px 15px;
    }

    .royal-contact-card,
    .royal-contact-form-card {
        padding: 15px;
        border-radius: 10px;
    }

    .royal-contact-title {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .royal-contact-title::after {
        width: 30px;
        height: 2px;
    }

    .royal-contact-card:hover .royal-contact-title::after {
        width: 40px;
    }

    .royal-contact-block {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }




    .royal-contact-text,
    .royal-contact-phones,
    .royal-contact-hours,
    .royal-contact-email {
        padding-left: 22px;
    }



    .royal-form-select {
        background-size: 10px;
        background-position: right 10px center;
        padding-right: 28px;
    }


}


/* Form Field Focus Styles Enhancement */
.royal-form-group input:focus,
.royal-form-group textarea:focus,
.royal-form-select:focus {
    background-color: #fffdf6;
}

/* Form Validation Styles */
.royal-form-group.error input,
.royal-form-group.error textarea,
.royal-form-group.error .royal-form-select {
    border-color: #e74c3c;
}

.royal-form-group.error label {
    color: #e74c3c;
}

.royal-form-group.success input,
.royal-form-group.success textarea,
.royal-form-group.success .royal-form-select {
    border-color: #2ecc71;
}

.royal-form-group.success label {
    color: #2ecc71;
}