/*
Theme Name: RX Child Coming Soon
Template: twentytwentyfour
Description: Coming Soon landing page for CeliaRX
Version: 1.0.0
*/

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=TASA+Orbiter:wght@400..800&display=swap");

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "TASA Orbiter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header Styles */
.site-header {
    padding: 25px 0px 17px 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #EEEEEE;
}


.header-content {
    max-width: 1300px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.landing-image-logo {
    height: auto;
    max-height: 40px;
    width: auto;
    display: block;
}

/* Main Content Area */
.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 0 90px 0;
    max-width: 1300px;
    margin: 0 auto;
}


.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    /* align-items: center; */
    width: 100%;
}

/* Left Section - Image */
.image-section {
    position: relative;
}


.image-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 500px;
    min-width: 620px;
}


/* Right Section - Form */
.form-section {
    padding: 90px 0;
}

.badge {
    display: inline-block;
    background: #728486;
    color: #fff;
    padding: 0 12px;
    height: 26px;
    border-radius: 50px;
    margin-bottom: 18px;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 2.38px;
    text-align: center;
    text-transform: uppercase;
}

.headline {
    font-family: "TASA Orbiter", sans-serif;
    color: #333;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 30px;
    line-height: 110.00000000000001%;
}

.subheadline {
    font-family: "Inter Tight", sans-serif;
    color: #333;
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0.32px;
}



/* Form Styles - Contact Form 7 */
.wpcf7 {
    max-width: 600px;
}

/* .wpcf7-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
} */

.wpcf7-form-control-wrap {
    flex: 1;
    min-width: 200px;
}

.wpcf7 input[type="email"],
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"] {
    width: 100%;
    padding: 8px 16px;
    font-family: "Inter Tight", sans-serif;
    border: 1px solid #CACACA;
    border-radius: 30px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 29.4px;
    letter-spacing: 0.28px;
}

.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="tel"]:focus {
    border-color: #999;
}

.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="tel"]::placeholder {
    color: #838383;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    padding: 10px 32px;
    background: linear-gradient(90deg, #FDCEBB -12.71%, #FFEDBF 100%);
    color: #2d2d2d;
    border: none;
    font-weight: 600;
    font-family: "Inter Tight", sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    font-style: normal;
    font-size: 16px;
    line-height: 22.4px;
    letter-spacing: 0.32px;
    text-transform: capitalize;
    border-radius: 30px;
    position: absolute;
    right: 5px;
    top: 2px;
}

form.wpcf7-form {
    position: relative;
}

.wpcf7 input[type="submit"]:active,
.wpcf7 button[type="submit"]:active {
    transform: translateY(0);
}

/* CF7 Validation Messages */
.wpcf7-response-output {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-spam {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    font-family: "Inter Tight", sans-serif;
    display: block;
    padding-top: 4px;
}

.wpcf7-not-valid {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.wpcf7-not-valid:focus {
    border-color: #dc3545 !important;
    outline: 2px solid rgba(220, 53, 69, 0.2);
    outline-offset: 2px;
}

/* Custom validation error styles */
.cf7-custom-error {
    color: #dc3545;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.wpcf7 input.cf7-has-error {
    border-color: #dc3545;
}

/* Hide CF7 default styling */
.wpcf7-form-control-wrap {
    margin: 0;
}

.wpcf7-form p {
    margin: 0;
}

.cf7-error-message {
    color: #dc3545;
    font-family: "Inter Tight", sans-serif;
    padding: 12px;
    background: #f8d7da;
    border-radius: 8px;
}




/* Footer Styles */
.site-footer {
    background: linear-gradient(180deg, #F6F2EF 0%, #D3C4B8 100%);
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.copyright {
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 29.4px;
    letter-spacing: 0.28px;
    padding: 14px 0;
    border-bottom: 1px solid #D1C6BD;
}

.footer-logo-bg img {
    padding: 60px 0 36px 0;
}


/* Landing Page Wrapper */
.landing-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Image Section Updates */
.landing-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.wpcf7-spinner {
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: absolute;
    top: 10px;
    right: -56px;
}



/* Responsive Styles */
@media (max-width: 1024px) {

    .wpcf7-spinner {
        position: relative;
    }

    .wpcf7 {
        max-width: 100%;
    }

    .site-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-content,
    .main-content,
    .footer-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-section img {
        min-width: 100%;
        min-height: auto;
    }

    .form-section {
        padding: 20px 0;
        text-align: center;
    }

    .headline {
        font-size: 26px;
    }

    .subheadline {
        font-size: 18px;
    }

    .wpcf7 input[type="submit"],
    .wpcf7 button[type="submit"] {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    form.wpcf7-form.init {
        position: static;
    }

    .footer-logo-bg img {
        padding: 40px 0 24px 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .wpcf7 {
        max-width: 100%;
    }

    .site-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-content,
    .main-content,
    .footer-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-section img {
        min-width: 100%;
        min-height: auto;
    }

    .form-section {
        padding: 20px 0;
        text-align: center;
    }

    .headline {
        font-size: 24px;
    }

    .subheadline {
        font-size: 18px;
    }

    .wpcf7 input[type="submit"],
    .wpcf7 button[type="submit"] {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    form.wpcf7-form.init {
        position: static;
    }

    .footer-logo-bg img {
        padding: 40px 0 24px 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-content,
    .main-content,
    .footer-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .headline {
        font-size: 20px;
    }

    .subheadline {
        font-size: 16px;
    }

    .main-content {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .form-section {
        padding: 0;
    }

    .badge {
        font-size: 12px;
        padding: 0 10px;
    }
}



/* Hide only CF7 error messages, not success messages */
.wpcf7-not-valid-tip {
    display: none !important;
}

/* Only hide error response output, allow success messages */
.wpcf7-response-output.wpcf7-validation-errors {
    display: none !important;
}