/*
Theme Name: BMS WordPress Theme
Theme URI: https://bms.com.ec
Description: A professional landing page theme for BMS.
Version: 1.0.0
Author: Antigravity
Author URI: https://antigravity.ai
Text Domain: bms-wp
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --primary-color: #004b87;
    /* Navy blue from logo */
    --secondary-color: #c8102e;
    /* Red from logo */
    --text-color: #333333;
    --bg-color: #ffffff;
    --gray-light: #f4f7f9;
    --gray-medium: #888888;
    --border-radius: 8px;
    --container-width: 1000px;
    --font-main: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Logo */
header {
    padding: 60px 0;
    text-align: center;
}

.site-branding {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 300px;
    display: inline-block;
}

.logo img {
    display: block;
    margin: 0 auto;
}

.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    height: auto;
}

/* Red Banner */
.banner {
    background-color: var(--secondary-color);
    color: white;
    padding: 25px 0;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 60px;
}

/* Main Content & Form */
.landing-main {
    padding-bottom: 80px;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
}

/* Contact Form 7 Custom Styling */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bms-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bms-form-group label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1rem;
}

.wpcf7-form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--gray-light);
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 75, 135, 0.1);
}

.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
}

.bms-form-submit {
    text-align: center;
    margin-top: 15px;
}

.wpcf7-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
    width: auto;
    min-width: 250px;
}

.wpcf7-submit:hover {
    background-color: #003a6a;
    transform: translateY(-2px);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* Email/Footer Section */
footer {
    background-color: var(--primary-color);
    padding: 30px 0;
    text-align: center;
}

.footer-email {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-email:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }

    .banner {
        font-size: 1.4rem;
        padding: 20px 15px;
    }

    .wpcf7-submit {
        width: 100%;
    }

    .logo {
        max-width: 200px;
    }
}

/* CF7 Validation styles */
.wpcf7-not-valid-tip {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid transparent !important;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    border-color: #4CAF50 !important;
    color: #4CAF50 !important;
}

.wpcf7-validation-errors {
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
}