﻿/* Base colors & typography */

html {
    min-height: 100%;
}

.text-danger {
    color: #0A2342;
    background: white;
    border-radius: 15px;
    width: 400px;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    margin: auto;
    border: 2px solid #CE9E56;
}

.text-danger ul {
    font-weight: 400;
    text-transform:none;
    padding-left: 17px;
}

.text-danger ul li {
    margin-bottom: 15px;
}

.text-danger ul li:nth-last-of-type(1) {
    margin-bottom: 0px;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    color: #F5F1E9;
    /*background: linear-gradient(135deg, #001331 0%, #001f4d 100%);*/
    background: url(https://immediac.blob.core.windows.net/properhairclubweb/images/splash-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Centered container */
.splash-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 3rem 2rem;
}

/* Card */
.splash-content {
    background: #F2F2F2;
    border-radius: 16px;
    padding: 2rem 4rem 3rem;
    max-width: 1400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Logo */
.logo {
    width: 180px;
    margin: 0 auto;
    display: block;
}

/* Headline */
.splash-content h1 {
    font-size: 80px;
    margin-top: 0px;
    margin-bottom: 35px;
    line-height: 80px;
    font-weight: 700;
    color: #0A2342;
    font-family: 'Times New Roman', serif;
}

.splash-content h1 .gold {
    color: #CE9E56;
}

/* Intro copy */
.intro {
    font-size: 24px;
    max-width: 1060px;
    margin: 0 auto 2.5rem;
    line-height: 36px;
    color: #0A2342;
}

/* Form */
.form-container {
    max-width: 965px;
    margin: 0 auto 1.5rem;
}

/* CMS Form Styling */
.cms-form {
    display: flex;
    margin: 0 -10px;
}

.cms-form-group {
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.cms-group-email {
    flex: 1;
    padding-right: 0px;
}

.cms-group-submit {
    padding-left: 0px;
}

.cms-form-group {
    margin-bottom: 0px;
}

.cms-form-label {
    display: none; /* Hide labels as they're not in the design */
}

.cms-field-email {
    width: 100%;
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 16px;
    height: 50px;
    box-sizing: border-box;
}

    .cms-field-email::placeholder {
        color: #414141;
        font-family: "Raleway", sans-serif;
        font-size: 22px;
        transform: translateY(1.7px);
    }

.cms-field-submit {
    width: 100%;
    padding: 13px 20px;
    border-radius: 10px;
    border: none;
    background-color: #e9b949;
    color: #001428;
    font-weight: bold;
    font-size: 22px;
    cursor: pointer;
    text-transform: uppercase;
    height: 50px;
    box-sizing: border-box;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cms-field-submit:hover {
    background-color: #0A2342;
    color: white!important;
}

.form-container input[type="email"] {
    flex: 1;
    padding: 1rem 25px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #ffffff;
    border: none;
    color: #0A2342;
    margin-right: 0px;
    font-size: 22px;
}

input:-webkit-autofill {
    -webkit-background-clip: text;
    font-family: "Raleway", sans-serif;
    font-size: 22px;
}

.form-container input[type="email"]:focus-visible,
.form-container input[type="email"]:focus {
    outline: none!important;
}

.form-container button {
    background: #c8a45c;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    color: #001331;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-container button:hover {
    background: #B88A3F;
}

/* Disclaimer */
.disclaimer {
    font-size: 18px;
    margin: 2rem 0;
    color: #0A2342;
    line-height: 29px;
}

h2.secondary-title {
    font-size: 32px;
    line-height: 36px;
    color: #0A2342;
    font-weight: 700;
}

/* Feature boxes */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-box {
    border: 2px solid #CE9E56;
    border-radius: 15px;
    padding: 3rem 1.5rem;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-box h2 {
    font-size: 32px;
    margin-bottom: 8px;
    font-family: 'Times New Roman', serif;
    font-weight: 700;
    color: #0A2342;
    margin-top: 0px;
}

.feature-box p {
    font-size: 18px;
    opacity: 1;
    margin-top: 0px;
    color: #0A2342;
}

.feature-box p:nth-last-of-type(1) {
    margin-bottom: 0px;
}

/*******************/
/* Added CSS May 1 */
/*******************/

/* Form Field */

.form-container {
    background: #ffffff;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #CE9E56;
}

@media (min-width: 1200px) and (max-width: 1366px) {
    .splash-content h1 {
        font-size: 60px;
        line-height: 60px;
    }

    .intro {
        font-size: 21px;
        max-width: 860px;
        line-height: 33px;
    }

    .logo {
        margin-bottom: 20px;
    }

    .form-container {
        max-width: 765px;
    }

    .cms-field-submit {
        font-size: 19px;
    }

    .cms-field-email::placeholder {
        font-size: 19px;
        transform: translateY(1.5px);
    }

    .form-container input[type="email"] {
        font-size: 19px;
    }

    h2.secondary-title {
        font-size: 28px;
        line-height: 31px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .splash-content h1 {
        font-size: 60px;
        line-height: 60px;
    }

    .intro {
        font-size: 21px;
        max-width: 860px;
        line-height: 33px;
    }

    .logo {
        margin-bottom: 20px;
    }

    .form-container {
        max-width: 765px;
    }

    .cms-field-submit {
        font-size: 19px;
    }

    .cms-field-email::placeholder {
        font-size: 19px;
        transform: translateY(1.5px);
    }

    .form-container input[type="email"] {
        font-size: 19px;
    }

    h2.secondary-title {
        font-size: 28px;
        line-height: 31px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .feature-box {
        padding: 2rem .5rem;
    }

    .features {
        gap: 1rem;
    }

    .feature-box h2 {
        font-size: 1.5rem;
    }

    .feature-box p {
        font-size: 0.95rem;
    }

    .splash-content h1 {
        font-size: 50px;
        line-height: 52px;
        margin-top: 25px;
    }

    .intro {
        font-size: 19px;
        max-width: 860px;
        line-height: 31px;
    }

    .cms-field-submit {
        font-size: 19px;
    }

    .cms-field-email::placeholder {
        font-size: 19px;
        transform: translateY(1.5px);
    }

    .form-container input[type="email"] {
        font-size: 19px;
    }

    h2.secondary-title {
        font-size: 25px;
        line-height: 37px;
        margin-top: 5px;
    }
}

@media (max-width: 767px) {

    .text-danger {
        width: auto!important;
    }

    .splash-content h1 {
        font-size: 35px;
        line-height: 41px;
        margin-top:20px;
    }

    .intro {
        font-size: 20px;
        line-height: 33px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        flex-direction: column;
    }
    
    .form-container input[type="email"] {
        margin-right: 0;
        margin-bottom: 10px;
        border-radius: 4px;
    }
    
    .cms-form {
        flex-direction: column;
    }
    
    .cms-form-group {
        width: 100% !important;
    }

    .splash-content {
        padding: 2rem 1rem;
    }

    .cms-group-submit {
        padding-left: 15px;
    }

    .cms-group-email {
        padding-right: 15px;
    }

    .cms-field-submit {
        font-size: 19px;
    }

    .cms-field-email::placeholder {
        font-size: 19px;
        transform: translateY(1.5px);
    }

    .form-container input[type="email"] {
        font-size: 19px;
    }

    .form-container input[type="email"] {
        padding: 1rem 6px;
    }

    h2.secondary-title {
        font-size: 25px;
        line-height: 33px;
        margin-top: 10px;
    }
}
