/* Contact Form Styles */
.contact-form-section-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    color: #333;
}

.contact-form-card {
    background-color: var(--color-yellow);
    border-radius: 15px;
    padding: 40px;
    box-sizing: border-box;
    text-align: center; /* Center the title and description */
}

.form-title {
    font-size: 2.5em;
    color: #222;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.form-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.feelclassics-contact-form {
    text-align: left; /* Align form fields to the left */
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 1em;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1em;
    color: #333;
    border:1px solid black;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}
.form-group label {
    display:none;
}

.submit-button {
    background-color: var(--color-orange); /* Primary button color */
    border: 1px solid black;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-family:"Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    width: auto; /* Ensure button doesn't stretch full width */
    display: inline-block; /* Allow it to be centered with text-align */
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-section-container {
        margin: 40px auto;
        padding: 0 15px;
    }
    .contact-form-card {
        padding: 30px;
        border-radius: 10px;
    }
    .form-title {
        font-size: 2em;
        margin-bottom: 10px;
    }
    .form-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .form-group {
        margin-bottom: 20px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95em;
    }
    .submit-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%; /* Full width button on smaller screens */
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 20px;
    }
    .form-title {
        font-size: 1.8em;
    }
    .form-description {
        font-size: 0.9em;
        margin-bottom: 25px;
    }
}

/* Contact Notification Popup Styles */
.custom-cart-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Start off-screen below */
    opacity: 0;
    padding: 15px 25px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    z-index: 9999;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out; /* Smooth slide-up and fade-in */
}

.custom-cart-notification.success {
    background-color: #28a745; /* Green for success */
}

.custom-cart-notification.error {
    background-color: #dc3545; /* Red for error */
}

.custom-cart-notification.show {
    transform: translateX(-50%) translateY(0); /* Slide up to final position */
    opacity: 1;
}

.custom-cart-notification.hide {
    transform: translateX(-50%) translateY(100px); /* Slide down off-screen */
    opacity: 0;
}

.notification-message {
    flex-grow: 1;
}

.notification-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.notification-close-btn:hover {
    transform: rotate(90deg);
}

/* Responsive adjustments for popup */
@media (max-width: 600px) {
    .custom-cart-notification {
        width: calc(100% - 40px); /* Full width minus padding */
        left: 20px; /* Align to left with padding */
        transform: translateX(0) translateY(100px);
        font-size: 1em;
        text-align: center;
        bottom: 15px;
        padding: 12px 20px;
    }

    .custom-cart-notification.show {
        transform: translateX(0) translateY(0);
    }
    .custom-cart-notification.hide {
        transform: translateX(0) translateY(100px);
    }
}

