/* Contact Form 7 Custom Styles */
.contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-grid .form-group {
    margin: 0;
}

/* Input Styles */
.contact-form-grid input[type="text"],
.contact-form-grid input[type="tel"],
.contact-form-grid input[type="email"],
.contact-form-grid textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(17, 24, 39, 0.7) !important;
    border: 1px solid #d4af3733 !important;
    border-radius: 0.75rem;
    color: #fff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-grid textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form-grid input::placeholder,
.contact-form-grid textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
    outline: none;
    background: rgba(17, 24, 39, 0.8) !important;
    border-color: #d4af3733 !important;
    box-shadow: 0 0 0 1px #d4af37;
    color: #fff !important;
}

/* Submit Button */
.contact-form-grid input[type="submit"] {
    width: 100%;
    padding: 0.875rem 2rem;
    background: #d4af37 !important;
    border: none !important;
    border-radius: 0.75rem;
    color: #000 !important;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-grid input[type="submit"]:hover {
    background: #c4a032 !important;
    transform: translateY(-1px);
}

/* Error Messages */
.contact-form-grid .wpcf7-not-valid-tip {
    margin-top: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
}

.contact-form-grid .wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 1rem !important;
    border-radius: 0.75rem !important;
    text-align: center;
    font-size: 0.95rem;
    border: 1px solid #d4af3733 !important;
    background: rgba(17, 24, 39, 0.7);
    color: #fff;
}

/* Loading Animation */
.contact-form-grid .ajax-loader {
    position: absolute !important;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    width: 20px !important;
    height: 20px !important;
}

.contact-form-grid .ajax-loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .contact-form-grid input[type="submit"] {
        padding: 0.75rem 1.5rem;
    }
} 