/* Newsletter section visibility improvements */

/* Enhance the newsletter section container */
.newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    z-index: 1;
}

/* Add a subtle pattern overlay */
.newsletter:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png');
    opacity: 0.1;
    z-index: -1;
}

/* Improve text visibility */
.newsletter h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Style the newsletter form */
.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Style the email input */
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(243, 146, 7, 0.2);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

/* Style the submit button */
.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(243, 146, 7, 0.3);
}

.newsletter-form button:hover {
    background: #ff8f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 146, 7, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter h2 {
        font-size: 2rem;
    }

    .newsletter p {
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 1rem;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
    }

    .newsletter-form button {
        margin-top: 0.5rem;
    }
} 