/* Popup Contact Form Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .popup-form {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #9B773B;
}

.popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.popup-header h3 {
    font-size: 1.8rem;
    color: #9B773B;
    margin-bottom: 10px;
    font-weight: 600;
}

.popup-header p {
    color: #666;
    font-size: 1rem;
}

.popup-form-group {
    margin-bottom: 20px;
}

.popup-form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.popup-form-input,
.popup-form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.popup-form-input:focus,
.popup-form-select:focus {
    outline: none;
    border-color: #9B773B;
    background: white;
    box-shadow: 0 0 0 3px rgba(155, 119, 59, 0.1);
}

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

.popup-submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #9B773B, #c9a96e);
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 119, 59, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .popup-form {
        padding: 25px 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .popup-header h3 {
        font-size: 1.5rem;
    }
    
    .popup-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .popup-form-input,
    .popup-form-select {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .popup-submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .popup-form {
        padding: 20px 15px;
        margin: 15px;
        width: calc(100% - 30px);
        border-radius: 10px;
    }
    
    .popup-header {
        margin-bottom: 20px;
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    .popup-form-group {
        margin-bottom: 15px;
    }
    
    .popup-form-input,
    .popup-form-select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .popup-submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}