/**
Theme Name: Aureon
Author: Technotus
Author URI: https://technotus.com
Description: Custom theme for Aureon.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aureon
Template: astra
*/


/* Contact Form 7 Custom Styling */
.aureon-contact-form {
    max-width: 600px;
    padding: 5px 0;
    background: transparent;
    font-family: inherit;
}
.aureon-form-title {
    color: #0d4746; /* Dark teal */
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 400;
}
.aureon-input-wrapper {
    position: relative;
    margin-bottom: 13px;
}
/* Hide CF7 auto-generated br tags */
.aureon-input-wrapper br {
    display: none;
}
/* Icons for the inputs */
.aureon-icon {
    position: absolute;
    top: 15px;
    left: 0;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    z-index: 2;
}
.aureon-icon-user {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}
.aureon-icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}
.aureon-icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.79 19.79 0 0 1 3.08 5.18 2 2 0 0 1 5.06 3h3a2 2 0 0 1 2 1.72c.12.89.33 1.76.63 2.59a2 2 0 0 1-.45 2.11L9.09 10.91a16 16 0 0 0 4 4l1.49-1.15a2 2 0 0 1 2.11-.45c.83.3 1.7.51 2.59.63A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.aureon-icon-ribbon {
    /* Ribbon/bookmark icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}
/* Input Fields Styling */
.aureon-contact-form input[type="text"],
.aureon-contact-form input[type="email"],
.aureon-contact-form input[type="tel"],
.aureon-contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    padding: 15px 15px 15px 35px !important; /* Extra padding on left for the icon */
    font-size: 1rem;
    background: transparent;
    color: #333;
    transition: border-color 0.3s;
    box-sizing: border-box;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0; /* Override any theme defaults */
}
.aureon-contact-form input[type="text"]::placeholder,
.aureon-contact-form input[type="email"]::placeholder,
.aureon-contact-form input[type="tel"]::placeholder,
.aureon-contact-form textarea::placeholder {
    color: #999;
}
.aureon-contact-form input[type="text"]:focus,
.aureon-contact-form input[type="email"]:focus,
.aureon-contact-form input[type="tel"]:focus,
.aureon-contact-form textarea:focus {
    border-bottom-color: #0d4746; /* Highlight border on focus */
}
.aureon-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
/* Acceptance Checkbox Styling */
.aureon-acceptance-wrapper {
    margin: 30px 0;
    font-size: 0.95rem;
    color: #444;
}
.aureon-acceptance-wrapper .wpcf7-list-item {
    margin: 0;
    padding: 0;
}
.aureon-acceptance-wrapper label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.aureon-acceptance-wrapper input[type="checkbox"] {
    margin: 0 12px 0 0;
    width: 18px;
    height: 18px;
    accent-color: #444; /* Dark gray checkbox to match image */
    cursor: pointer;
}
.aureon-acceptance-wrapper a {
    color: #0d4746;
    text-decoration: underline;
    transition: color 0.3s;
}
.aureon-acceptance-wrapper a:hover {
    color: #dfb564;
}
/* Submit Button Styling */
.aureon-submit-wrapper {
    position: relative;
    display: inline-block;
}
/* We use a pseudo-element on the wrapper to place the icon over the button */
.aureon-submit-wrapper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d4746' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none; /* Allows clicking through the icon */
    z-index: 10;
}
.aureon-submit-btn {
    background-color: #e5d4bc!important; /* Gold background */
    color: #0d4746!important; /* Dark teal text */
    border: none;
    padding: 14px 30px 14px 50px!important; /* Extra padding on left for the envelope icon */
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    display: inline-block;
}
.aureon-submit-btn:hover {
    background-color: #d8c3a5!important;
}
/* Loader icon spacing tweak for CF7 */
.aureon-submit-wrapper .wpcf7-spinner {
    margin-left: 10px;
}
