/* =====================================================
   Newsletter Signup Section Styles
   ===================================================== */

.newsletter-section {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(45deg, #E8D5C4 0%, #B8D4CE 100%);
    position: relative;
}

.newsletter-section--bg-white {
    background: var(--white, #ffffff);
}

.newsletter-section--bg-white .tnp-field input[type="text"],
.newsletter-section--bg-white .tnp-field input[type="email"] {
    border: 1px solid var(--color-border, #dddddd);
}

.newsletter-section--bg-white .tnp-privacy {
    border-color: var(--color-border, #dddddd);
}

.newsletter-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.newsletter-header {
    text-align: center;
    margin-bottom: 50px;
}

.newsletter-heading {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--blue-primary, #4464AD);
    margin: 0 0 20px 0;
}

.newsletter-subheading {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: var(--black, #202030);
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Form */
.newsletter-form {
    max-width: 900px;
    margin: 0 auto;
}

.newsletter-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newsletter-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tnp-subscription label {
    display: flex !important;
}

.tnp-field {
    position: relative;
}

.tnp-field input[type="text"],
.tnp-field input[type="email"] {
    width: 100%;
    font-family: 'Proxima Nova', sans-serif;
    color: var(--black, #202030) !important;
    background: var(--white, #fff);
    border: none;
    border-radius: 50px;
    padding: 22px 28px !important;
    transition: all 0.3s ease;
    outline: none;
}

.tnp-field input[type="text"]:focus,
.tnp-field input[type="email"]:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tnp-field input[type="text"]::placeholder,
.tnp-field input[type="email"]::placeholder {
    color: var(--red, #CE4A57);
    font-size: 20px;
    font-weight: 700;
}

/* Privacy Checkbox */
.tnp-privacy-field {
    margin-top: 10px;
}

.tnp-privacy-field label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
    color: var(--black, #202030);
}

.tnp-privacy {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    margin-top: 0;
    cursor: pointer;
    background: var(--white, #fff);
    border: 1px solid var(--white, #fff);
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

.tnp-privacy:checked {
    background: var(--coral-primary, #E76F6F);
    border-color: var(--coral-primary, #E76F6F);
}

.tnp-privacy:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white, #fff);
    font-size: 16px;
    font-weight: bold;
}

.tnp-privacy-text {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--black, #202030);
}

/* Submit Button */
.tnp-field-button {
    text-align: center;
    margin-top: 20px;
}

.tnp-submit {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 20px !important;
    font-weight: 700;
    color: var(--white, #fff);
    background: var(--red, #CE4A57) !important;
    border: 3px solid var(--red, #CE4A57);
    border-radius: var(--radius-pill);
    padding: 18px 140px !important;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(231, 111, 111, 0.3);
}

.tnp-submit:hover {
    background: var(--coral-hover, #D95F5F) !important;
    border-color: var(--coral-hover, #D95F5F);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 111, 111, 0.4);
}

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

.tnp-submit:focus {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}


/* =====================================================
   Responsive Design
   ===================================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .newsletter-heading {
        font-size: 40px;
    }
    
    .newsletter-subheading {
        font-size: 18px;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .newsletter-section {
        padding: 60px 20px;
    }
    
    .newsletter-header {
        margin-bottom: 40px;
    }
    
    .newsletter-heading {
        font-size: 32px;
    }
    
    .newsletter-subheading {
        font-size: 16px;
    }
    
    .newsletter-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    
    .tnp-field input[type="text"],
    .tnp-field input[type="email"] {
        font-size: 15px;
        padding: 16px 24px;
    }
    
    .tnp-submit {
        font-size: 18px;
        padding: 16px 60px;
        width: 100%;
        max-width: 400px;
    }
    
    .tnp-privacy-text {
        font-size: 14px;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .newsletter-heading {
        font-size: 28px;
    }
    
    .newsletter-subheading {
        font-size: 15px;
    }
    
    .tnp-submit {
        padding: 14px 40px;
    }
}
